Skip to content

Commit

Permalink
version(plugin-register): 0.0.2
Browse files Browse the repository at this point in the history
chore: only-allow pnpm
  • Loading branch information
zgayjjf committed Apr 17, 2023
1 parent cdca166 commit 00ba857
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"types": "lib/index.d.ts",
"scripts": {
"clear": "rm -rf ./lib/ ./lib.esm/",
"prepublishOnly": "npm run build",
"build": "npm run clear && npm run build:esm & npm run build:commonjs",
"prepublishOnly": "npx only-allow pnpm && npm run build",
"build": "npm run clear && npm run build:esm && npm run build:commonjs",
"build:commonjs": "tsc -p tsconfig.build.json",
"build:esm": "tsc -p tsconfig.build.esm.json",
"publish": "pnpm publish --access public"
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-register/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@dotbit/plugin-register",
"version": "0.0.1",
"version": "0.0.2",
"main": "lib/index.js",
"module": "lib.esm/index.js",
"types": "lib/index.d.ts",
"scripts": {
"clear": "rm -rf ./lib/ ./lib.esm/",
"prepublishOnly": "npm run build",
"build": "npm run clear && npm run build:esm & npm run build:commonjs",
"prepublishOnly": "npx only-allow pnpm && npm run build",
"build": "npm run clear && npm run build:esm && npm run build:commonjs",
"build:commonjs": "tsc -p tsconfig.build.json",
"build:esm": "tsc -p tsconfig.build.esm.json",
"publish": "pnpm publish --access public"
Expand Down
5 changes: 2 additions & 3 deletions packages/plugin-register/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { version } from '../package.json'
import {
accountIdHex,
BitAccount,
BitNetwork,
BitPluginBase,
CrossChainDirection,
CrossChainAccountStatusRes,
DotBit,
LockAccountRes,
MintBitAccountRes,
Expand All @@ -21,10 +21,9 @@ import GnosisSDK, { EthSignSignature } from '@gnosis.pm/safe-core-sdk'
import EthNftGnosisAbi from './EthNftGnosisAbi.json'
import EthNftAbi from './EthNftAbi.json'
import { ethers } from 'ethers'
import { CrossChainAccountStatusRes } from 'dotbit/fetchers/CrossChainAPI'

export class BitPluginRegister implements BitPluginBase {
version = version
version = '0.0.1' // todo: use version replacement
name = 'BitPluginRegister'

onInstall (dotbit: DotBit) {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"clear": "rm -rf ./lib/ ./lib.esm/",
"prepublishOnly": "npm run build",
"build": "npm run clear && npm run build:esm & npm run build:commonjs",
"build": "npm run clear && npm run build:esm && npm run build:commonjs",
"build:commonjs": "tsc -p tsconfig.build.json",
"build:esm": "tsc -p tsconfig.build.esm.json",
"publish": "pnpm publish --access public"
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-web3mq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"types": "lib/index.d.ts",
"scripts": {
"clear": "rm -rf ./lib/ ./lib.esm/",
"prepublishOnly": "npm run build",
"build": "npm run clear && npm run build:esm & npm run build:commonjs",
"prepublishOnly": "npx only-allow pnpm && npm run build",
"build": "npm run clear && npm run build:esm && npm run build:commonjs",
"build:commonjs": "tsc -p tsconfig.build.json",
"build:esm": "tsc -p tsconfig.build.esm.json",
"publish": "pnpm publish --access public"
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export * from './tools/JSON-RPC'
export * from './tools/Networking'
export * from './fetchers/BitIndexer'
export * from './fetchers/SubAccountAPI'
export * from './fetchers/CrossChainAPI'
export * from './builders/RemoteTxBuilder'
export * from './signers/EthersSigner'
export * from './signers/ProviderSigner'
Expand Down

0 comments on commit 00ba857

Please sign in to comment.