From 716eaba455e9f6504e0e496408c75ac2444c9ef2 Mon Sep 17 00:00:00 2001 From: rrr523 Date: Mon, 18 Sep 2023 14:51:49 +0800 Subject: [PATCH 1/2] chore: Update package.json --- .codesandbox/ci.json | 11 ----------- packages/create-gnfd-app/package.json | 3 ++- packages/file-handle/package.json | 12 +++++++++++- packages/{chain-sdk => js-sdk}/CHANGELOG.md | 0 packages/{chain-sdk => js-sdk}/README.md | 0 .../config/tsconfig-cjs.json | 0 .../config/tsconfig-esm.json | 0 .../config/tsconfig-test.json | 0 .../{chain-sdk => js-sdk}/config/tsconfig.json | 0 packages/{chain-sdk => js-sdk}/jest.config.mjs | 0 packages/{chain-sdk => js-sdk}/package.json | 14 ++++++++++++-- packages/{chain-sdk => js-sdk}/rollup.config.js | 0 packages/{chain-sdk => js-sdk}/src/api/account.ts | 0 packages/{chain-sdk => js-sdk}/src/api/basic.ts | 0 packages/{chain-sdk => js-sdk}/src/api/bucket.ts | 0 .../{chain-sdk => js-sdk}/src/api/challenge.ts | 0 .../{chain-sdk => js-sdk}/src/api/crosschain.ts | 0 .../{chain-sdk => js-sdk}/src/api/distribution.ts | 0 .../{chain-sdk => js-sdk}/src/api/feegrant.ts | 0 packages/{chain-sdk => js-sdk}/src/api/gashub.ts | 0 packages/{chain-sdk => js-sdk}/src/api/group.ts | 0 packages/{chain-sdk => js-sdk}/src/api/objectt.ts | 0 .../{chain-sdk => js-sdk}/src/api/offchainauth.ts | 0 packages/{chain-sdk => js-sdk}/src/api/payment.ts | 0 .../{chain-sdk => js-sdk}/src/api/proposal.ts | 0 packages/{chain-sdk => js-sdk}/src/api/sp.ts | 0 packages/{chain-sdk => js-sdk}/src/api/storage.ts | 0 .../{chain-sdk => js-sdk}/src/api/validator.ts | 0 .../{chain-sdk => js-sdk}/src/api/virtualGroup.ts | 0 packages/{chain-sdk => js-sdk}/src/client.ts | 0 .../src/clients/queryclient.ts | 0 .../src/clients/spclient/auth.ts | 0 .../src/clients/spclient/sign.ts | 0 .../src/clients/spclient/spApis/approval.ts | 0 .../src/clients/spclient/spApis/getBucketMeta.ts | 0 .../src/clients/spclient/spApis/getNonce.ts | 0 .../src/clients/spclient/spApis/getObject.ts | 0 .../src/clients/spclient/spApis/getObjectMeta.ts | 0 .../src/clients/spclient/spApis/getUserBuckets.ts | 0 .../spclient/spApis/listBucketReadRecords.ts | 0 .../clients/spclient/spApis/listBucketsByIds.ts | 0 .../spclient/spApis/listBucketsByPayment.ts | 0 .../src/clients/spclient/spApis/listGroups.ts | 0 .../clients/spclient/spApis/listGroupsMembers.ts | 0 .../clients/spclient/spApis/listObjectPolicies.ts | 0 .../spclient/spApis/listObjectsByBucket.ts | 0 .../clients/spclient/spApis/listObjectsByIds.ts | 0 .../src/clients/spclient/spApis/listUserGroups.ts | 0 .../spclient/spApis/listUserOwnedGroups.ts | 0 .../spclient/spApis/listUserPaymentAccounts.ts | 0 .../src/clients/spclient/spApis/metaInfos.ts | 0 .../src/clients/spclient/spApis/parseError.ts | 0 .../src/clients/spclient/spApis/putObject.ts | 0 .../spclient/spApis/queryBucketReadQuota.ts | 0 .../spclient/spApis/updateUserAccountKey.ts | 0 .../clients/spclient/spApis/verifyPermission.ts | 0 .../src/clients/spclient/spClient.ts | 0 .../{chain-sdk => js-sdk}/src/clients/txClient.ts | 2 +- .../{chain-sdk => js-sdk}/src/constants/http.ts | 0 .../{chain-sdk => js-sdk}/src/constants/index.ts | 0 .../src/constants/typeUrl.ts | 0 packages/{chain-sdk => js-sdk}/src/index.ts | 0 .../{chain-sdk => js-sdk}/src/keymanage/index.ts | 0 .../{chain-sdk => js-sdk}/src/messages/README.md | 0 .../src/messages/bank/MsgMultiSend.ts | 0 .../src/messages/bank/MsgSend.ts | 0 .../distribution/MsgFundCommunityPoolTypeUrl.ts | 0 .../cosmos/distribution/MsgSetWithdrawAddress.ts | 0 .../distribution/MsgWithdrawDelegatorReward.ts | 0 .../MsgWithdrawValidatorCommission.ts | 0 .../src/messages/cosmos/gov/MsgVote.ts | 0 .../src/messages/cosmos/oracle/MsgClaim.ts | 0 .../messages/cosmos/staking/MsgCreateValidator.ts | 0 .../messages/cosmos/staking/MsgEditValidator.ts | 0 .../src/messages/feegrant/MsgGrantAllowance.ts | 0 .../src/messages/feegrant/MsgRevokeAllowance.ts | 0 .../messages/greenfield/bridge/MsgTransferOut.ts | 0 .../src/messages/greenfield/chanenge/MsgAttest.ts | 0 .../src/messages/greenfield/chanenge/MsgSubmit.ts | 0 .../src/messages/greenfield/index.ts | 0 .../greenfield/payment/MsgCreatePaymentAccount.ts | 0 .../src/messages/greenfield/payment/MsgDeposit.ts | 0 .../greenfield/payment/MsgDisableRefund.ts | 0 .../messages/greenfield/payment/MsgWithdraw.ts | 0 .../greenfield/storage/MsgCancelCreateObject.ts | 0 .../greenfield/storage/MsgCreateBucket.ts | 0 .../messages/greenfield/storage/MsgCreateGroup.ts | 0 .../greenfield/storage/MsgCreateObject.ts | 0 .../greenfield/storage/MsgDeleteBucket.ts | 0 .../messages/greenfield/storage/MsgDeleteGroup.ts | 0 .../greenfield/storage/MsgDeleteObject.ts | 0 .../greenfield/storage/MsgDeletePolicy.ts | 0 .../messages/greenfield/storage/MsgLeaveGroup.ts | 0 .../greenfield/storage/MsgMigrateBucket.ts | 0 .../greenfield/storage/MsgMirrorBucket.ts | 0 .../messages/greenfield/storage/MsgMirrorGroup.ts | 0 .../greenfield/storage/MsgMirrorObject.ts | 0 .../messages/greenfield/storage/MsgPutPolicy.ts | 0 .../greenfield/storage/MsgUpdateBucketInfo.ts | 0 .../greenfield/storage/MsgUpdateGroupExtra.ts | 0 .../greenfield/storage/MsgUpdateGroupMember.ts | 0 .../greenfield/storage/MsgUpdateObjectInfo.ts | 0 .../messages/greenfield/virtualgroup/MsgSettle.ts | 0 .../{chain-sdk => js-sdk}/src/messages/index.ts | 0 .../{chain-sdk => js-sdk}/src/messages/utils.ts | 0 .../src/offchainauth/index.ts | 0 .../src/offchainauth/utils.ts | 0 packages/{chain-sdk => js-sdk}/src/sign/index.ts | 0 packages/{chain-sdk => js-sdk}/src/sign/pubKey.ts | 0 packages/{chain-sdk => js-sdk}/src/sign/signTx.ts | 0 packages/{chain-sdk => js-sdk}/src/types/auth.ts | 0 .../{chain-sdk => js-sdk}/src/types/common.ts | 0 packages/{chain-sdk => js-sdk}/src/types/index.ts | 0 .../src/types/sp/BucketApproval.ts | 0 .../{chain-sdk => js-sdk}/src/types/sp/Common.ts | 0 .../src/types/sp/ErrorResponse.ts | 0 .../src/types/sp/GetBucketMeta.ts | 0 .../src/types/sp/GetObject.ts | 0 .../src/types/sp/GetObjectMeta.ts | 0 .../src/types/sp/GetPreviewObject.ts | 0 .../src/types/sp/GetUserBuckets.ts | 0 .../src/types/sp/ListBucketReadRecord.ts | 0 .../src/types/sp/ListBucketsByIDs.ts | 0 .../src/types/sp/ListBucketsByPaymentAccount.ts | 0 .../src/types/sp/ListGroups.ts | 0 .../src/types/sp/ListGroupsMembers.ts | 0 .../src/types/sp/ListObjectPolicies.ts | 0 .../src/types/sp/ListObjectsByBucketName.ts | 0 .../src/types/sp/ListObjectsByIDs.ts | 0 .../src/types/sp/ListUserGroups.ts | 0 .../src/types/sp/ListUserOwnedGroups.ts | 0 .../src/types/sp/ListUserPaymentAccounts.ts | 0 .../src/types/sp/MigrateBucket.ts | 0 .../src/types/sp/ObjectApproval.ts | 0 .../src/types/sp/PutObject.ts | 0 .../src/types/sp/ReadQuota.ts | 0 .../src/types/sp/RequestNonce.ts | 0 .../src/types/sp/SuccessResponse.ts | 0 .../src/types/sp/VerifyPermission.ts | 0 .../{chain-sdk => js-sdk}/src/types/sp/index.ts | 0 .../{chain-sdk => js-sdk}/src/types/storage.ts | 0 packages/{chain-sdk => js-sdk}/src/types/tx.ts | 0 .../{chain-sdk => js-sdk}/src/utils/allowance.ts | 0 .../{chain-sdk => js-sdk}/src/utils/encoding.ts | 0 packages/{chain-sdk => js-sdk}/src/utils/grn.ts | 0 .../{chain-sdk => js-sdk}/src/utils/helpers.ts | 0 packages/{chain-sdk => js-sdk}/src/utils/http.ts | 0 packages/{chain-sdk => js-sdk}/src/utils/index.ts | 0 packages/{chain-sdk => js-sdk}/src/utils/s3.ts | 0 packages/{chain-sdk => js-sdk}/src/utils/time.ts | 0 packages/{chain-sdk => js-sdk}/src/utils/units.ts | 0 .../{chain-sdk => js-sdk}/tests/.env.example.ts | 0 .../{chain-sdk => js-sdk}/tests/account.spec.ts | 0 .../{chain-sdk => js-sdk}/tests/config.spec.ts | 0 .../{chain-sdk => js-sdk}/tests/parsexml.spec.ts | 0 .../{chain-sdk => js-sdk}/tests/policy.spec.ts | 0 .../{chain-sdk => js-sdk}/tests/query.spec.ts | 0 .../{chain-sdk => js-sdk}/tests/storage.spec.ts | 0 .../{chain-sdk => js-sdk}/tests/utils.spec.ts | 0 .../{chain-sdk => js-sdk}/tests/wallet.spec.ts | 0 packages/{chain-sdk => js-sdk}/tsconfig.json | 0 packages/zk-crypto/package.json | 15 ++++++++++++++- 162 files changed, 40 insertions(+), 17 deletions(-) delete mode 100644 .codesandbox/ci.json rename packages/{chain-sdk => js-sdk}/CHANGELOG.md (100%) rename packages/{chain-sdk => js-sdk}/README.md (100%) rename packages/{chain-sdk => js-sdk}/config/tsconfig-cjs.json (100%) rename packages/{chain-sdk => js-sdk}/config/tsconfig-esm.json (100%) rename packages/{chain-sdk => js-sdk}/config/tsconfig-test.json (100%) rename packages/{chain-sdk => js-sdk}/config/tsconfig.json (100%) rename packages/{chain-sdk => js-sdk}/jest.config.mjs (100%) rename packages/{chain-sdk => js-sdk}/package.json (87%) rename packages/{chain-sdk => js-sdk}/rollup.config.js (100%) rename packages/{chain-sdk => js-sdk}/src/api/account.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/basic.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/bucket.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/challenge.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/crosschain.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/distribution.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/feegrant.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/gashub.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/group.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/objectt.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/offchainauth.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/payment.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/proposal.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/sp.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/storage.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/validator.ts (100%) rename packages/{chain-sdk => js-sdk}/src/api/virtualGroup.ts (100%) rename packages/{chain-sdk => js-sdk}/src/client.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/queryclient.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/auth.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/sign.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/approval.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/getBucketMeta.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/getNonce.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/getObject.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/getObjectMeta.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/getUserBuckets.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/listBucketReadRecords.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/listBucketsByIds.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/listBucketsByPayment.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/listGroups.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/listGroupsMembers.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/listObjectPolicies.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/listObjectsByBucket.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/listObjectsByIds.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/listUserGroups.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/listUserOwnedGroups.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/listUserPaymentAccounts.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/metaInfos.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/parseError.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/putObject.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/queryBucketReadQuota.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/updateUserAccountKey.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spApis/verifyPermission.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/spclient/spClient.ts (100%) rename packages/{chain-sdk => js-sdk}/src/clients/txClient.ts (99%) rename packages/{chain-sdk => js-sdk}/src/constants/http.ts (100%) rename packages/{chain-sdk => js-sdk}/src/constants/index.ts (100%) rename packages/{chain-sdk => js-sdk}/src/constants/typeUrl.ts (100%) rename packages/{chain-sdk => js-sdk}/src/index.ts (100%) rename packages/{chain-sdk => js-sdk}/src/keymanage/index.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/README.md (100%) rename packages/{chain-sdk => js-sdk}/src/messages/bank/MsgMultiSend.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/bank/MsgSend.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/cosmos/distribution/MsgFundCommunityPoolTypeUrl.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/cosmos/distribution/MsgSetWithdrawAddress.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/cosmos/distribution/MsgWithdrawDelegatorReward.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/cosmos/distribution/MsgWithdrawValidatorCommission.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/cosmos/gov/MsgVote.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/cosmos/oracle/MsgClaim.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/cosmos/staking/MsgCreateValidator.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/cosmos/staking/MsgEditValidator.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/feegrant/MsgGrantAllowance.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/feegrant/MsgRevokeAllowance.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/bridge/MsgTransferOut.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/chanenge/MsgAttest.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/chanenge/MsgSubmit.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/index.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/payment/MsgCreatePaymentAccount.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/payment/MsgDeposit.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/payment/MsgDisableRefund.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/payment/MsgWithdraw.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgCancelCreateObject.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgCreateBucket.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgCreateGroup.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgCreateObject.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgDeleteBucket.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgDeleteGroup.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgDeleteObject.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgDeletePolicy.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgLeaveGroup.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgMigrateBucket.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgMirrorBucket.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgMirrorGroup.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgMirrorObject.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgPutPolicy.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgUpdateBucketInfo.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgUpdateGroupExtra.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgUpdateGroupMember.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/storage/MsgUpdateObjectInfo.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/greenfield/virtualgroup/MsgSettle.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/index.ts (100%) rename packages/{chain-sdk => js-sdk}/src/messages/utils.ts (100%) rename packages/{chain-sdk => js-sdk}/src/offchainauth/index.ts (100%) rename packages/{chain-sdk => js-sdk}/src/offchainauth/utils.ts (100%) rename packages/{chain-sdk => js-sdk}/src/sign/index.ts (100%) rename packages/{chain-sdk => js-sdk}/src/sign/pubKey.ts (100%) rename packages/{chain-sdk => js-sdk}/src/sign/signTx.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/auth.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/common.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/index.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/BucketApproval.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/Common.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ErrorResponse.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/GetBucketMeta.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/GetObject.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/GetObjectMeta.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/GetPreviewObject.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/GetUserBuckets.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ListBucketReadRecord.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ListBucketsByIDs.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ListBucketsByPaymentAccount.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ListGroups.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ListGroupsMembers.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ListObjectPolicies.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ListObjectsByBucketName.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ListObjectsByIDs.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ListUserGroups.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ListUserOwnedGroups.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ListUserPaymentAccounts.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/MigrateBucket.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ObjectApproval.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/PutObject.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/ReadQuota.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/RequestNonce.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/SuccessResponse.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/VerifyPermission.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/sp/index.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/storage.ts (100%) rename packages/{chain-sdk => js-sdk}/src/types/tx.ts (100%) rename packages/{chain-sdk => js-sdk}/src/utils/allowance.ts (100%) rename packages/{chain-sdk => js-sdk}/src/utils/encoding.ts (100%) rename packages/{chain-sdk => js-sdk}/src/utils/grn.ts (100%) rename packages/{chain-sdk => js-sdk}/src/utils/helpers.ts (100%) rename packages/{chain-sdk => js-sdk}/src/utils/http.ts (100%) rename packages/{chain-sdk => js-sdk}/src/utils/index.ts (100%) rename packages/{chain-sdk => js-sdk}/src/utils/s3.ts (100%) rename packages/{chain-sdk => js-sdk}/src/utils/time.ts (100%) rename packages/{chain-sdk => js-sdk}/src/utils/units.ts (100%) rename packages/{chain-sdk => js-sdk}/tests/.env.example.ts (100%) rename packages/{chain-sdk => js-sdk}/tests/account.spec.ts (100%) rename packages/{chain-sdk => js-sdk}/tests/config.spec.ts (100%) rename packages/{chain-sdk => js-sdk}/tests/parsexml.spec.ts (100%) rename packages/{chain-sdk => js-sdk}/tests/policy.spec.ts (100%) rename packages/{chain-sdk => js-sdk}/tests/query.spec.ts (100%) rename packages/{chain-sdk => js-sdk}/tests/storage.spec.ts (100%) rename packages/{chain-sdk => js-sdk}/tests/utils.spec.ts (100%) rename packages/{chain-sdk => js-sdk}/tests/wallet.spec.ts (100%) rename packages/{chain-sdk => js-sdk}/tsconfig.json (100%) diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json deleted file mode 100644 index 686fb6d5..00000000 --- a/.codesandbox/ci.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "node": 16, - "packages": [ - "./", - "packages/chain-sdk", - "packages/file-handle" - ], - "sandboxes": [ - "examples/nextjs" - ] -} diff --git a/packages/create-gnfd-app/package.json b/packages/create-gnfd-app/package.json index 95afec92..7ec596ac 100644 --- a/packages/create-gnfd-app/package.json +++ b/packages/create-gnfd-app/package.json @@ -11,7 +11,8 @@ "url": "https://github.com/bnb-chain/greenfield-js-sdk", "directory": "packages/create-gnfd-app" }, - "homepage": "https://github.com/bnb-chain/greenfield-js-sdk/packages/create-gnfd-app#readme", + "homepage": "https://github.com/bnb-chain/greenfield-js-sdk/tree/alpha/packages/create-gnfd-app#readme", + "bugs": "https://github.com/bnb-chain/greenfield-js-sdk/issues", "scripts": { "dev": "rollup -cw", "build": "rollup -c" diff --git a/packages/file-handle/package.json b/packages/file-handle/package.json index 1d3ecef6..dbf02ad7 100644 --- a/packages/file-handle/package.json +++ b/packages/file-handle/package.json @@ -21,7 +21,17 @@ "build": "webpack", "test": "" }, - "keywords": [], + "repository": { + "type": "git", + "url": "https://github.com/bnb-chain/greenfield-js-sdk", + "directory": "packages/file-handle" + }, + "homepage": "https://github.com/bnb-chain/greenfield-js-sdk/tree/alpha/packages/file-handle#readme", + "bugs": "https://github.com/bnb-chain/greenfield-js-sdk/issues", + "keywords": [ + "greenfiled", + "checksums" + ], "author": "", "license": "GPLv3", "engines": { diff --git a/packages/chain-sdk/CHANGELOG.md b/packages/js-sdk/CHANGELOG.md similarity index 100% rename from packages/chain-sdk/CHANGELOG.md rename to packages/js-sdk/CHANGELOG.md diff --git a/packages/chain-sdk/README.md b/packages/js-sdk/README.md similarity index 100% rename from packages/chain-sdk/README.md rename to packages/js-sdk/README.md diff --git a/packages/chain-sdk/config/tsconfig-cjs.json b/packages/js-sdk/config/tsconfig-cjs.json similarity index 100% rename from packages/chain-sdk/config/tsconfig-cjs.json rename to packages/js-sdk/config/tsconfig-cjs.json diff --git a/packages/chain-sdk/config/tsconfig-esm.json b/packages/js-sdk/config/tsconfig-esm.json similarity index 100% rename from packages/chain-sdk/config/tsconfig-esm.json rename to packages/js-sdk/config/tsconfig-esm.json diff --git a/packages/chain-sdk/config/tsconfig-test.json b/packages/js-sdk/config/tsconfig-test.json similarity index 100% rename from packages/chain-sdk/config/tsconfig-test.json rename to packages/js-sdk/config/tsconfig-test.json diff --git a/packages/chain-sdk/config/tsconfig.json b/packages/js-sdk/config/tsconfig.json similarity index 100% rename from packages/chain-sdk/config/tsconfig.json rename to packages/js-sdk/config/tsconfig.json diff --git a/packages/chain-sdk/jest.config.mjs b/packages/js-sdk/jest.config.mjs similarity index 100% rename from packages/chain-sdk/jest.config.mjs rename to packages/js-sdk/jest.config.mjs diff --git a/packages/chain-sdk/package.json b/packages/js-sdk/package.json similarity index 87% rename from packages/chain-sdk/package.json rename to packages/js-sdk/package.json index f888743e..901b5af2 100644 --- a/packages/chain-sdk/package.json +++ b/packages/js-sdk/package.json @@ -29,7 +29,17 @@ "test": "jest --runInBand", "lint": "prettier --write './src/*.{ts,tsx,js,jsx}' && eslint ./src/ --ext .js,.jsx,.ts,.tsx --fix" }, - "keywords": [], + "repository": { + "type": "git", + "url": "https://github.com/bnb-chain/greenfield-js-sdk", + "directory": "packages/js-sdk" + }, + "homepage": "https://github.com/bnb-chain/greenfield-js-sdk/tree/alpha/packages/js-sdk#readme", + "bugs": "https://github.com/bnb-chain/greenfield-js-sdk/issues", + "keywords": [ + "greenfiled", + "js-sdk" + ], "author": "", "license": "GPLv3", "engines": { @@ -90,4 +100,4 @@ "tslib": "^2.5.0", "typescript": "^4.9.5" } -} +} \ No newline at end of file diff --git a/packages/chain-sdk/rollup.config.js b/packages/js-sdk/rollup.config.js similarity index 100% rename from packages/chain-sdk/rollup.config.js rename to packages/js-sdk/rollup.config.js diff --git a/packages/chain-sdk/src/api/account.ts b/packages/js-sdk/src/api/account.ts similarity index 100% rename from packages/chain-sdk/src/api/account.ts rename to packages/js-sdk/src/api/account.ts diff --git a/packages/chain-sdk/src/api/basic.ts b/packages/js-sdk/src/api/basic.ts similarity index 100% rename from packages/chain-sdk/src/api/basic.ts rename to packages/js-sdk/src/api/basic.ts diff --git a/packages/chain-sdk/src/api/bucket.ts b/packages/js-sdk/src/api/bucket.ts similarity index 100% rename from packages/chain-sdk/src/api/bucket.ts rename to packages/js-sdk/src/api/bucket.ts diff --git a/packages/chain-sdk/src/api/challenge.ts b/packages/js-sdk/src/api/challenge.ts similarity index 100% rename from packages/chain-sdk/src/api/challenge.ts rename to packages/js-sdk/src/api/challenge.ts diff --git a/packages/chain-sdk/src/api/crosschain.ts b/packages/js-sdk/src/api/crosschain.ts similarity index 100% rename from packages/chain-sdk/src/api/crosschain.ts rename to packages/js-sdk/src/api/crosschain.ts diff --git a/packages/chain-sdk/src/api/distribution.ts b/packages/js-sdk/src/api/distribution.ts similarity index 100% rename from packages/chain-sdk/src/api/distribution.ts rename to packages/js-sdk/src/api/distribution.ts diff --git a/packages/chain-sdk/src/api/feegrant.ts b/packages/js-sdk/src/api/feegrant.ts similarity index 100% rename from packages/chain-sdk/src/api/feegrant.ts rename to packages/js-sdk/src/api/feegrant.ts diff --git a/packages/chain-sdk/src/api/gashub.ts b/packages/js-sdk/src/api/gashub.ts similarity index 100% rename from packages/chain-sdk/src/api/gashub.ts rename to packages/js-sdk/src/api/gashub.ts diff --git a/packages/chain-sdk/src/api/group.ts b/packages/js-sdk/src/api/group.ts similarity index 100% rename from packages/chain-sdk/src/api/group.ts rename to packages/js-sdk/src/api/group.ts diff --git a/packages/chain-sdk/src/api/objectt.ts b/packages/js-sdk/src/api/objectt.ts similarity index 100% rename from packages/chain-sdk/src/api/objectt.ts rename to packages/js-sdk/src/api/objectt.ts diff --git a/packages/chain-sdk/src/api/offchainauth.ts b/packages/js-sdk/src/api/offchainauth.ts similarity index 100% rename from packages/chain-sdk/src/api/offchainauth.ts rename to packages/js-sdk/src/api/offchainauth.ts diff --git a/packages/chain-sdk/src/api/payment.ts b/packages/js-sdk/src/api/payment.ts similarity index 100% rename from packages/chain-sdk/src/api/payment.ts rename to packages/js-sdk/src/api/payment.ts diff --git a/packages/chain-sdk/src/api/proposal.ts b/packages/js-sdk/src/api/proposal.ts similarity index 100% rename from packages/chain-sdk/src/api/proposal.ts rename to packages/js-sdk/src/api/proposal.ts diff --git a/packages/chain-sdk/src/api/sp.ts b/packages/js-sdk/src/api/sp.ts similarity index 100% rename from packages/chain-sdk/src/api/sp.ts rename to packages/js-sdk/src/api/sp.ts diff --git a/packages/chain-sdk/src/api/storage.ts b/packages/js-sdk/src/api/storage.ts similarity index 100% rename from packages/chain-sdk/src/api/storage.ts rename to packages/js-sdk/src/api/storage.ts diff --git a/packages/chain-sdk/src/api/validator.ts b/packages/js-sdk/src/api/validator.ts similarity index 100% rename from packages/chain-sdk/src/api/validator.ts rename to packages/js-sdk/src/api/validator.ts diff --git a/packages/chain-sdk/src/api/virtualGroup.ts b/packages/js-sdk/src/api/virtualGroup.ts similarity index 100% rename from packages/chain-sdk/src/api/virtualGroup.ts rename to packages/js-sdk/src/api/virtualGroup.ts diff --git a/packages/chain-sdk/src/client.ts b/packages/js-sdk/src/client.ts similarity index 100% rename from packages/chain-sdk/src/client.ts rename to packages/js-sdk/src/client.ts diff --git a/packages/chain-sdk/src/clients/queryclient.ts b/packages/js-sdk/src/clients/queryclient.ts similarity index 100% rename from packages/chain-sdk/src/clients/queryclient.ts rename to packages/js-sdk/src/clients/queryclient.ts diff --git a/packages/chain-sdk/src/clients/spclient/auth.ts b/packages/js-sdk/src/clients/spclient/auth.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/auth.ts rename to packages/js-sdk/src/clients/spclient/auth.ts diff --git a/packages/chain-sdk/src/clients/spclient/sign.ts b/packages/js-sdk/src/clients/spclient/sign.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/sign.ts rename to packages/js-sdk/src/clients/spclient/sign.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/approval.ts b/packages/js-sdk/src/clients/spclient/spApis/approval.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/approval.ts rename to packages/js-sdk/src/clients/spclient/spApis/approval.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/getBucketMeta.ts b/packages/js-sdk/src/clients/spclient/spApis/getBucketMeta.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/getBucketMeta.ts rename to packages/js-sdk/src/clients/spclient/spApis/getBucketMeta.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/getNonce.ts b/packages/js-sdk/src/clients/spclient/spApis/getNonce.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/getNonce.ts rename to packages/js-sdk/src/clients/spclient/spApis/getNonce.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/getObject.ts b/packages/js-sdk/src/clients/spclient/spApis/getObject.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/getObject.ts rename to packages/js-sdk/src/clients/spclient/spApis/getObject.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/getObjectMeta.ts b/packages/js-sdk/src/clients/spclient/spApis/getObjectMeta.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/getObjectMeta.ts rename to packages/js-sdk/src/clients/spclient/spApis/getObjectMeta.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/getUserBuckets.ts b/packages/js-sdk/src/clients/spclient/spApis/getUserBuckets.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/getUserBuckets.ts rename to packages/js-sdk/src/clients/spclient/spApis/getUserBuckets.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/listBucketReadRecords.ts b/packages/js-sdk/src/clients/spclient/spApis/listBucketReadRecords.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/listBucketReadRecords.ts rename to packages/js-sdk/src/clients/spclient/spApis/listBucketReadRecords.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/listBucketsByIds.ts b/packages/js-sdk/src/clients/spclient/spApis/listBucketsByIds.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/listBucketsByIds.ts rename to packages/js-sdk/src/clients/spclient/spApis/listBucketsByIds.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/listBucketsByPayment.ts b/packages/js-sdk/src/clients/spclient/spApis/listBucketsByPayment.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/listBucketsByPayment.ts rename to packages/js-sdk/src/clients/spclient/spApis/listBucketsByPayment.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/listGroups.ts b/packages/js-sdk/src/clients/spclient/spApis/listGroups.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/listGroups.ts rename to packages/js-sdk/src/clients/spclient/spApis/listGroups.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/listGroupsMembers.ts b/packages/js-sdk/src/clients/spclient/spApis/listGroupsMembers.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/listGroupsMembers.ts rename to packages/js-sdk/src/clients/spclient/spApis/listGroupsMembers.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/listObjectPolicies.ts b/packages/js-sdk/src/clients/spclient/spApis/listObjectPolicies.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/listObjectPolicies.ts rename to packages/js-sdk/src/clients/spclient/spApis/listObjectPolicies.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/listObjectsByBucket.ts b/packages/js-sdk/src/clients/spclient/spApis/listObjectsByBucket.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/listObjectsByBucket.ts rename to packages/js-sdk/src/clients/spclient/spApis/listObjectsByBucket.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/listObjectsByIds.ts b/packages/js-sdk/src/clients/spclient/spApis/listObjectsByIds.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/listObjectsByIds.ts rename to packages/js-sdk/src/clients/spclient/spApis/listObjectsByIds.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/listUserGroups.ts b/packages/js-sdk/src/clients/spclient/spApis/listUserGroups.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/listUserGroups.ts rename to packages/js-sdk/src/clients/spclient/spApis/listUserGroups.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/listUserOwnedGroups.ts b/packages/js-sdk/src/clients/spclient/spApis/listUserOwnedGroups.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/listUserOwnedGroups.ts rename to packages/js-sdk/src/clients/spclient/spApis/listUserOwnedGroups.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/listUserPaymentAccounts.ts b/packages/js-sdk/src/clients/spclient/spApis/listUserPaymentAccounts.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/listUserPaymentAccounts.ts rename to packages/js-sdk/src/clients/spclient/spApis/listUserPaymentAccounts.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/metaInfos.ts b/packages/js-sdk/src/clients/spclient/spApis/metaInfos.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/metaInfos.ts rename to packages/js-sdk/src/clients/spclient/spApis/metaInfos.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/parseError.ts b/packages/js-sdk/src/clients/spclient/spApis/parseError.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/parseError.ts rename to packages/js-sdk/src/clients/spclient/spApis/parseError.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/putObject.ts b/packages/js-sdk/src/clients/spclient/spApis/putObject.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/putObject.ts rename to packages/js-sdk/src/clients/spclient/spApis/putObject.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/queryBucketReadQuota.ts b/packages/js-sdk/src/clients/spclient/spApis/queryBucketReadQuota.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/queryBucketReadQuota.ts rename to packages/js-sdk/src/clients/spclient/spApis/queryBucketReadQuota.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/updateUserAccountKey.ts b/packages/js-sdk/src/clients/spclient/spApis/updateUserAccountKey.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/updateUserAccountKey.ts rename to packages/js-sdk/src/clients/spclient/spApis/updateUserAccountKey.ts diff --git a/packages/chain-sdk/src/clients/spclient/spApis/verifyPermission.ts b/packages/js-sdk/src/clients/spclient/spApis/verifyPermission.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spApis/verifyPermission.ts rename to packages/js-sdk/src/clients/spclient/spApis/verifyPermission.ts diff --git a/packages/chain-sdk/src/clients/spclient/spClient.ts b/packages/js-sdk/src/clients/spclient/spClient.ts similarity index 100% rename from packages/chain-sdk/src/clients/spclient/spClient.ts rename to packages/js-sdk/src/clients/spclient/spClient.ts diff --git a/packages/chain-sdk/src/clients/txClient.ts b/packages/js-sdk/src/clients/txClient.ts similarity index 99% rename from packages/chain-sdk/src/clients/txClient.ts rename to packages/js-sdk/src/clients/txClient.ts index a25962be..7f675670 100644 --- a/packages/chain-sdk/src/clients/txClient.ts +++ b/packages/js-sdk/src/clients/txClient.ts @@ -29,7 +29,7 @@ import { SimulateOptions, TxResponse, } from '..'; -import { RpcQueryClient } from '../clients/queryclient'; +import { RpcQueryClient } from './queryclient'; import { DEFAULT_DENOM, ZERO_PUBKEY } from '../constants'; import { createEIP712, diff --git a/packages/chain-sdk/src/constants/http.ts b/packages/js-sdk/src/constants/http.ts similarity index 100% rename from packages/chain-sdk/src/constants/http.ts rename to packages/js-sdk/src/constants/http.ts diff --git a/packages/chain-sdk/src/constants/index.ts b/packages/js-sdk/src/constants/index.ts similarity index 100% rename from packages/chain-sdk/src/constants/index.ts rename to packages/js-sdk/src/constants/index.ts diff --git a/packages/chain-sdk/src/constants/typeUrl.ts b/packages/js-sdk/src/constants/typeUrl.ts similarity index 100% rename from packages/chain-sdk/src/constants/typeUrl.ts rename to packages/js-sdk/src/constants/typeUrl.ts diff --git a/packages/chain-sdk/src/index.ts b/packages/js-sdk/src/index.ts similarity index 100% rename from packages/chain-sdk/src/index.ts rename to packages/js-sdk/src/index.ts diff --git a/packages/chain-sdk/src/keymanage/index.ts b/packages/js-sdk/src/keymanage/index.ts similarity index 100% rename from packages/chain-sdk/src/keymanage/index.ts rename to packages/js-sdk/src/keymanage/index.ts diff --git a/packages/chain-sdk/src/messages/README.md b/packages/js-sdk/src/messages/README.md similarity index 100% rename from packages/chain-sdk/src/messages/README.md rename to packages/js-sdk/src/messages/README.md diff --git a/packages/chain-sdk/src/messages/bank/MsgMultiSend.ts b/packages/js-sdk/src/messages/bank/MsgMultiSend.ts similarity index 100% rename from packages/chain-sdk/src/messages/bank/MsgMultiSend.ts rename to packages/js-sdk/src/messages/bank/MsgMultiSend.ts diff --git a/packages/chain-sdk/src/messages/bank/MsgSend.ts b/packages/js-sdk/src/messages/bank/MsgSend.ts similarity index 100% rename from packages/chain-sdk/src/messages/bank/MsgSend.ts rename to packages/js-sdk/src/messages/bank/MsgSend.ts diff --git a/packages/chain-sdk/src/messages/cosmos/distribution/MsgFundCommunityPoolTypeUrl.ts b/packages/js-sdk/src/messages/cosmos/distribution/MsgFundCommunityPoolTypeUrl.ts similarity index 100% rename from packages/chain-sdk/src/messages/cosmos/distribution/MsgFundCommunityPoolTypeUrl.ts rename to packages/js-sdk/src/messages/cosmos/distribution/MsgFundCommunityPoolTypeUrl.ts diff --git a/packages/chain-sdk/src/messages/cosmos/distribution/MsgSetWithdrawAddress.ts b/packages/js-sdk/src/messages/cosmos/distribution/MsgSetWithdrawAddress.ts similarity index 100% rename from packages/chain-sdk/src/messages/cosmos/distribution/MsgSetWithdrawAddress.ts rename to packages/js-sdk/src/messages/cosmos/distribution/MsgSetWithdrawAddress.ts diff --git a/packages/chain-sdk/src/messages/cosmos/distribution/MsgWithdrawDelegatorReward.ts b/packages/js-sdk/src/messages/cosmos/distribution/MsgWithdrawDelegatorReward.ts similarity index 100% rename from packages/chain-sdk/src/messages/cosmos/distribution/MsgWithdrawDelegatorReward.ts rename to packages/js-sdk/src/messages/cosmos/distribution/MsgWithdrawDelegatorReward.ts diff --git a/packages/chain-sdk/src/messages/cosmos/distribution/MsgWithdrawValidatorCommission.ts b/packages/js-sdk/src/messages/cosmos/distribution/MsgWithdrawValidatorCommission.ts similarity index 100% rename from packages/chain-sdk/src/messages/cosmos/distribution/MsgWithdrawValidatorCommission.ts rename to packages/js-sdk/src/messages/cosmos/distribution/MsgWithdrawValidatorCommission.ts diff --git a/packages/chain-sdk/src/messages/cosmos/gov/MsgVote.ts b/packages/js-sdk/src/messages/cosmos/gov/MsgVote.ts similarity index 100% rename from packages/chain-sdk/src/messages/cosmos/gov/MsgVote.ts rename to packages/js-sdk/src/messages/cosmos/gov/MsgVote.ts diff --git a/packages/chain-sdk/src/messages/cosmos/oracle/MsgClaim.ts b/packages/js-sdk/src/messages/cosmos/oracle/MsgClaim.ts similarity index 100% rename from packages/chain-sdk/src/messages/cosmos/oracle/MsgClaim.ts rename to packages/js-sdk/src/messages/cosmos/oracle/MsgClaim.ts diff --git a/packages/chain-sdk/src/messages/cosmos/staking/MsgCreateValidator.ts b/packages/js-sdk/src/messages/cosmos/staking/MsgCreateValidator.ts similarity index 100% rename from packages/chain-sdk/src/messages/cosmos/staking/MsgCreateValidator.ts rename to packages/js-sdk/src/messages/cosmos/staking/MsgCreateValidator.ts diff --git a/packages/chain-sdk/src/messages/cosmos/staking/MsgEditValidator.ts b/packages/js-sdk/src/messages/cosmos/staking/MsgEditValidator.ts similarity index 100% rename from packages/chain-sdk/src/messages/cosmos/staking/MsgEditValidator.ts rename to packages/js-sdk/src/messages/cosmos/staking/MsgEditValidator.ts diff --git a/packages/chain-sdk/src/messages/feegrant/MsgGrantAllowance.ts b/packages/js-sdk/src/messages/feegrant/MsgGrantAllowance.ts similarity index 100% rename from packages/chain-sdk/src/messages/feegrant/MsgGrantAllowance.ts rename to packages/js-sdk/src/messages/feegrant/MsgGrantAllowance.ts diff --git a/packages/chain-sdk/src/messages/feegrant/MsgRevokeAllowance.ts b/packages/js-sdk/src/messages/feegrant/MsgRevokeAllowance.ts similarity index 100% rename from packages/chain-sdk/src/messages/feegrant/MsgRevokeAllowance.ts rename to packages/js-sdk/src/messages/feegrant/MsgRevokeAllowance.ts diff --git a/packages/chain-sdk/src/messages/greenfield/bridge/MsgTransferOut.ts b/packages/js-sdk/src/messages/greenfield/bridge/MsgTransferOut.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/bridge/MsgTransferOut.ts rename to packages/js-sdk/src/messages/greenfield/bridge/MsgTransferOut.ts diff --git a/packages/chain-sdk/src/messages/greenfield/chanenge/MsgAttest.ts b/packages/js-sdk/src/messages/greenfield/chanenge/MsgAttest.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/chanenge/MsgAttest.ts rename to packages/js-sdk/src/messages/greenfield/chanenge/MsgAttest.ts diff --git a/packages/chain-sdk/src/messages/greenfield/chanenge/MsgSubmit.ts b/packages/js-sdk/src/messages/greenfield/chanenge/MsgSubmit.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/chanenge/MsgSubmit.ts rename to packages/js-sdk/src/messages/greenfield/chanenge/MsgSubmit.ts diff --git a/packages/chain-sdk/src/messages/greenfield/index.ts b/packages/js-sdk/src/messages/greenfield/index.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/index.ts rename to packages/js-sdk/src/messages/greenfield/index.ts diff --git a/packages/chain-sdk/src/messages/greenfield/payment/MsgCreatePaymentAccount.ts b/packages/js-sdk/src/messages/greenfield/payment/MsgCreatePaymentAccount.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/payment/MsgCreatePaymentAccount.ts rename to packages/js-sdk/src/messages/greenfield/payment/MsgCreatePaymentAccount.ts diff --git a/packages/chain-sdk/src/messages/greenfield/payment/MsgDeposit.ts b/packages/js-sdk/src/messages/greenfield/payment/MsgDeposit.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/payment/MsgDeposit.ts rename to packages/js-sdk/src/messages/greenfield/payment/MsgDeposit.ts diff --git a/packages/chain-sdk/src/messages/greenfield/payment/MsgDisableRefund.ts b/packages/js-sdk/src/messages/greenfield/payment/MsgDisableRefund.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/payment/MsgDisableRefund.ts rename to packages/js-sdk/src/messages/greenfield/payment/MsgDisableRefund.ts diff --git a/packages/chain-sdk/src/messages/greenfield/payment/MsgWithdraw.ts b/packages/js-sdk/src/messages/greenfield/payment/MsgWithdraw.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/payment/MsgWithdraw.ts rename to packages/js-sdk/src/messages/greenfield/payment/MsgWithdraw.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgCancelCreateObject.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgCancelCreateObject.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgCancelCreateObject.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgCancelCreateObject.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgCreateBucket.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgCreateBucket.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgCreateBucket.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgCreateBucket.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgCreateGroup.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgCreateGroup.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgCreateGroup.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgCreateGroup.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgCreateObject.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgCreateObject.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgCreateObject.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgCreateObject.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgDeleteBucket.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgDeleteBucket.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgDeleteBucket.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgDeleteBucket.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgDeleteGroup.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgDeleteGroup.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgDeleteGroup.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgDeleteGroup.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgDeleteObject.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgDeleteObject.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgDeleteObject.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgDeleteObject.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgDeletePolicy.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgDeletePolicy.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgDeletePolicy.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgDeletePolicy.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgLeaveGroup.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgLeaveGroup.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgLeaveGroup.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgLeaveGroup.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgMigrateBucket.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgMigrateBucket.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgMigrateBucket.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgMigrateBucket.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgMirrorBucket.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgMirrorBucket.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgMirrorBucket.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgMirrorBucket.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgMirrorGroup.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgMirrorGroup.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgMirrorGroup.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgMirrorGroup.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgMirrorObject.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgMirrorObject.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgMirrorObject.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgMirrorObject.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgPutPolicy.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgPutPolicy.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgPutPolicy.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgPutPolicy.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgUpdateBucketInfo.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgUpdateBucketInfo.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgUpdateBucketInfo.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgUpdateBucketInfo.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgUpdateGroupExtra.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgUpdateGroupExtra.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgUpdateGroupExtra.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgUpdateGroupExtra.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgUpdateGroupMember.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgUpdateGroupMember.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgUpdateGroupMember.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgUpdateGroupMember.ts diff --git a/packages/chain-sdk/src/messages/greenfield/storage/MsgUpdateObjectInfo.ts b/packages/js-sdk/src/messages/greenfield/storage/MsgUpdateObjectInfo.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/storage/MsgUpdateObjectInfo.ts rename to packages/js-sdk/src/messages/greenfield/storage/MsgUpdateObjectInfo.ts diff --git a/packages/chain-sdk/src/messages/greenfield/virtualgroup/MsgSettle.ts b/packages/js-sdk/src/messages/greenfield/virtualgroup/MsgSettle.ts similarity index 100% rename from packages/chain-sdk/src/messages/greenfield/virtualgroup/MsgSettle.ts rename to packages/js-sdk/src/messages/greenfield/virtualgroup/MsgSettle.ts diff --git a/packages/chain-sdk/src/messages/index.ts b/packages/js-sdk/src/messages/index.ts similarity index 100% rename from packages/chain-sdk/src/messages/index.ts rename to packages/js-sdk/src/messages/index.ts diff --git a/packages/chain-sdk/src/messages/utils.ts b/packages/js-sdk/src/messages/utils.ts similarity index 100% rename from packages/chain-sdk/src/messages/utils.ts rename to packages/js-sdk/src/messages/utils.ts diff --git a/packages/chain-sdk/src/offchainauth/index.ts b/packages/js-sdk/src/offchainauth/index.ts similarity index 100% rename from packages/chain-sdk/src/offchainauth/index.ts rename to packages/js-sdk/src/offchainauth/index.ts diff --git a/packages/chain-sdk/src/offchainauth/utils.ts b/packages/js-sdk/src/offchainauth/utils.ts similarity index 100% rename from packages/chain-sdk/src/offchainauth/utils.ts rename to packages/js-sdk/src/offchainauth/utils.ts diff --git a/packages/chain-sdk/src/sign/index.ts b/packages/js-sdk/src/sign/index.ts similarity index 100% rename from packages/chain-sdk/src/sign/index.ts rename to packages/js-sdk/src/sign/index.ts diff --git a/packages/chain-sdk/src/sign/pubKey.ts b/packages/js-sdk/src/sign/pubKey.ts similarity index 100% rename from packages/chain-sdk/src/sign/pubKey.ts rename to packages/js-sdk/src/sign/pubKey.ts diff --git a/packages/chain-sdk/src/sign/signTx.ts b/packages/js-sdk/src/sign/signTx.ts similarity index 100% rename from packages/chain-sdk/src/sign/signTx.ts rename to packages/js-sdk/src/sign/signTx.ts diff --git a/packages/chain-sdk/src/types/auth.ts b/packages/js-sdk/src/types/auth.ts similarity index 100% rename from packages/chain-sdk/src/types/auth.ts rename to packages/js-sdk/src/types/auth.ts diff --git a/packages/chain-sdk/src/types/common.ts b/packages/js-sdk/src/types/common.ts similarity index 100% rename from packages/chain-sdk/src/types/common.ts rename to packages/js-sdk/src/types/common.ts diff --git a/packages/chain-sdk/src/types/index.ts b/packages/js-sdk/src/types/index.ts similarity index 100% rename from packages/chain-sdk/src/types/index.ts rename to packages/js-sdk/src/types/index.ts diff --git a/packages/chain-sdk/src/types/sp/BucketApproval.ts b/packages/js-sdk/src/types/sp/BucketApproval.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/BucketApproval.ts rename to packages/js-sdk/src/types/sp/BucketApproval.ts diff --git a/packages/chain-sdk/src/types/sp/Common.ts b/packages/js-sdk/src/types/sp/Common.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/Common.ts rename to packages/js-sdk/src/types/sp/Common.ts diff --git a/packages/chain-sdk/src/types/sp/ErrorResponse.ts b/packages/js-sdk/src/types/sp/ErrorResponse.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ErrorResponse.ts rename to packages/js-sdk/src/types/sp/ErrorResponse.ts diff --git a/packages/chain-sdk/src/types/sp/GetBucketMeta.ts b/packages/js-sdk/src/types/sp/GetBucketMeta.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/GetBucketMeta.ts rename to packages/js-sdk/src/types/sp/GetBucketMeta.ts diff --git a/packages/chain-sdk/src/types/sp/GetObject.ts b/packages/js-sdk/src/types/sp/GetObject.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/GetObject.ts rename to packages/js-sdk/src/types/sp/GetObject.ts diff --git a/packages/chain-sdk/src/types/sp/GetObjectMeta.ts b/packages/js-sdk/src/types/sp/GetObjectMeta.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/GetObjectMeta.ts rename to packages/js-sdk/src/types/sp/GetObjectMeta.ts diff --git a/packages/chain-sdk/src/types/sp/GetPreviewObject.ts b/packages/js-sdk/src/types/sp/GetPreviewObject.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/GetPreviewObject.ts rename to packages/js-sdk/src/types/sp/GetPreviewObject.ts diff --git a/packages/chain-sdk/src/types/sp/GetUserBuckets.ts b/packages/js-sdk/src/types/sp/GetUserBuckets.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/GetUserBuckets.ts rename to packages/js-sdk/src/types/sp/GetUserBuckets.ts diff --git a/packages/chain-sdk/src/types/sp/ListBucketReadRecord.ts b/packages/js-sdk/src/types/sp/ListBucketReadRecord.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ListBucketReadRecord.ts rename to packages/js-sdk/src/types/sp/ListBucketReadRecord.ts diff --git a/packages/chain-sdk/src/types/sp/ListBucketsByIDs.ts b/packages/js-sdk/src/types/sp/ListBucketsByIDs.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ListBucketsByIDs.ts rename to packages/js-sdk/src/types/sp/ListBucketsByIDs.ts diff --git a/packages/chain-sdk/src/types/sp/ListBucketsByPaymentAccount.ts b/packages/js-sdk/src/types/sp/ListBucketsByPaymentAccount.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ListBucketsByPaymentAccount.ts rename to packages/js-sdk/src/types/sp/ListBucketsByPaymentAccount.ts diff --git a/packages/chain-sdk/src/types/sp/ListGroups.ts b/packages/js-sdk/src/types/sp/ListGroups.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ListGroups.ts rename to packages/js-sdk/src/types/sp/ListGroups.ts diff --git a/packages/chain-sdk/src/types/sp/ListGroupsMembers.ts b/packages/js-sdk/src/types/sp/ListGroupsMembers.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ListGroupsMembers.ts rename to packages/js-sdk/src/types/sp/ListGroupsMembers.ts diff --git a/packages/chain-sdk/src/types/sp/ListObjectPolicies.ts b/packages/js-sdk/src/types/sp/ListObjectPolicies.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ListObjectPolicies.ts rename to packages/js-sdk/src/types/sp/ListObjectPolicies.ts diff --git a/packages/chain-sdk/src/types/sp/ListObjectsByBucketName.ts b/packages/js-sdk/src/types/sp/ListObjectsByBucketName.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ListObjectsByBucketName.ts rename to packages/js-sdk/src/types/sp/ListObjectsByBucketName.ts diff --git a/packages/chain-sdk/src/types/sp/ListObjectsByIDs.ts b/packages/js-sdk/src/types/sp/ListObjectsByIDs.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ListObjectsByIDs.ts rename to packages/js-sdk/src/types/sp/ListObjectsByIDs.ts diff --git a/packages/chain-sdk/src/types/sp/ListUserGroups.ts b/packages/js-sdk/src/types/sp/ListUserGroups.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ListUserGroups.ts rename to packages/js-sdk/src/types/sp/ListUserGroups.ts diff --git a/packages/chain-sdk/src/types/sp/ListUserOwnedGroups.ts b/packages/js-sdk/src/types/sp/ListUserOwnedGroups.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ListUserOwnedGroups.ts rename to packages/js-sdk/src/types/sp/ListUserOwnedGroups.ts diff --git a/packages/chain-sdk/src/types/sp/ListUserPaymentAccounts.ts b/packages/js-sdk/src/types/sp/ListUserPaymentAccounts.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ListUserPaymentAccounts.ts rename to packages/js-sdk/src/types/sp/ListUserPaymentAccounts.ts diff --git a/packages/chain-sdk/src/types/sp/MigrateBucket.ts b/packages/js-sdk/src/types/sp/MigrateBucket.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/MigrateBucket.ts rename to packages/js-sdk/src/types/sp/MigrateBucket.ts diff --git a/packages/chain-sdk/src/types/sp/ObjectApproval.ts b/packages/js-sdk/src/types/sp/ObjectApproval.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ObjectApproval.ts rename to packages/js-sdk/src/types/sp/ObjectApproval.ts diff --git a/packages/chain-sdk/src/types/sp/PutObject.ts b/packages/js-sdk/src/types/sp/PutObject.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/PutObject.ts rename to packages/js-sdk/src/types/sp/PutObject.ts diff --git a/packages/chain-sdk/src/types/sp/ReadQuota.ts b/packages/js-sdk/src/types/sp/ReadQuota.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/ReadQuota.ts rename to packages/js-sdk/src/types/sp/ReadQuota.ts diff --git a/packages/chain-sdk/src/types/sp/RequestNonce.ts b/packages/js-sdk/src/types/sp/RequestNonce.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/RequestNonce.ts rename to packages/js-sdk/src/types/sp/RequestNonce.ts diff --git a/packages/chain-sdk/src/types/sp/SuccessResponse.ts b/packages/js-sdk/src/types/sp/SuccessResponse.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/SuccessResponse.ts rename to packages/js-sdk/src/types/sp/SuccessResponse.ts diff --git a/packages/chain-sdk/src/types/sp/VerifyPermission.ts b/packages/js-sdk/src/types/sp/VerifyPermission.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/VerifyPermission.ts rename to packages/js-sdk/src/types/sp/VerifyPermission.ts diff --git a/packages/chain-sdk/src/types/sp/index.ts b/packages/js-sdk/src/types/sp/index.ts similarity index 100% rename from packages/chain-sdk/src/types/sp/index.ts rename to packages/js-sdk/src/types/sp/index.ts diff --git a/packages/chain-sdk/src/types/storage.ts b/packages/js-sdk/src/types/storage.ts similarity index 100% rename from packages/chain-sdk/src/types/storage.ts rename to packages/js-sdk/src/types/storage.ts diff --git a/packages/chain-sdk/src/types/tx.ts b/packages/js-sdk/src/types/tx.ts similarity index 100% rename from packages/chain-sdk/src/types/tx.ts rename to packages/js-sdk/src/types/tx.ts diff --git a/packages/chain-sdk/src/utils/allowance.ts b/packages/js-sdk/src/utils/allowance.ts similarity index 100% rename from packages/chain-sdk/src/utils/allowance.ts rename to packages/js-sdk/src/utils/allowance.ts diff --git a/packages/chain-sdk/src/utils/encoding.ts b/packages/js-sdk/src/utils/encoding.ts similarity index 100% rename from packages/chain-sdk/src/utils/encoding.ts rename to packages/js-sdk/src/utils/encoding.ts diff --git a/packages/chain-sdk/src/utils/grn.ts b/packages/js-sdk/src/utils/grn.ts similarity index 100% rename from packages/chain-sdk/src/utils/grn.ts rename to packages/js-sdk/src/utils/grn.ts diff --git a/packages/chain-sdk/src/utils/helpers.ts b/packages/js-sdk/src/utils/helpers.ts similarity index 100% rename from packages/chain-sdk/src/utils/helpers.ts rename to packages/js-sdk/src/utils/helpers.ts diff --git a/packages/chain-sdk/src/utils/http.ts b/packages/js-sdk/src/utils/http.ts similarity index 100% rename from packages/chain-sdk/src/utils/http.ts rename to packages/js-sdk/src/utils/http.ts diff --git a/packages/chain-sdk/src/utils/index.ts b/packages/js-sdk/src/utils/index.ts similarity index 100% rename from packages/chain-sdk/src/utils/index.ts rename to packages/js-sdk/src/utils/index.ts diff --git a/packages/chain-sdk/src/utils/s3.ts b/packages/js-sdk/src/utils/s3.ts similarity index 100% rename from packages/chain-sdk/src/utils/s3.ts rename to packages/js-sdk/src/utils/s3.ts diff --git a/packages/chain-sdk/src/utils/time.ts b/packages/js-sdk/src/utils/time.ts similarity index 100% rename from packages/chain-sdk/src/utils/time.ts rename to packages/js-sdk/src/utils/time.ts diff --git a/packages/chain-sdk/src/utils/units.ts b/packages/js-sdk/src/utils/units.ts similarity index 100% rename from packages/chain-sdk/src/utils/units.ts rename to packages/js-sdk/src/utils/units.ts diff --git a/packages/chain-sdk/tests/.env.example.ts b/packages/js-sdk/tests/.env.example.ts similarity index 100% rename from packages/chain-sdk/tests/.env.example.ts rename to packages/js-sdk/tests/.env.example.ts diff --git a/packages/chain-sdk/tests/account.spec.ts b/packages/js-sdk/tests/account.spec.ts similarity index 100% rename from packages/chain-sdk/tests/account.spec.ts rename to packages/js-sdk/tests/account.spec.ts diff --git a/packages/chain-sdk/tests/config.spec.ts b/packages/js-sdk/tests/config.spec.ts similarity index 100% rename from packages/chain-sdk/tests/config.spec.ts rename to packages/js-sdk/tests/config.spec.ts diff --git a/packages/chain-sdk/tests/parsexml.spec.ts b/packages/js-sdk/tests/parsexml.spec.ts similarity index 100% rename from packages/chain-sdk/tests/parsexml.spec.ts rename to packages/js-sdk/tests/parsexml.spec.ts diff --git a/packages/chain-sdk/tests/policy.spec.ts b/packages/js-sdk/tests/policy.spec.ts similarity index 100% rename from packages/chain-sdk/tests/policy.spec.ts rename to packages/js-sdk/tests/policy.spec.ts diff --git a/packages/chain-sdk/tests/query.spec.ts b/packages/js-sdk/tests/query.spec.ts similarity index 100% rename from packages/chain-sdk/tests/query.spec.ts rename to packages/js-sdk/tests/query.spec.ts diff --git a/packages/chain-sdk/tests/storage.spec.ts b/packages/js-sdk/tests/storage.spec.ts similarity index 100% rename from packages/chain-sdk/tests/storage.spec.ts rename to packages/js-sdk/tests/storage.spec.ts diff --git a/packages/chain-sdk/tests/utils.spec.ts b/packages/js-sdk/tests/utils.spec.ts similarity index 100% rename from packages/chain-sdk/tests/utils.spec.ts rename to packages/js-sdk/tests/utils.spec.ts diff --git a/packages/chain-sdk/tests/wallet.spec.ts b/packages/js-sdk/tests/wallet.spec.ts similarity index 100% rename from packages/chain-sdk/tests/wallet.spec.ts rename to packages/js-sdk/tests/wallet.spec.ts diff --git a/packages/chain-sdk/tsconfig.json b/packages/js-sdk/tsconfig.json similarity index 100% rename from packages/chain-sdk/tsconfig.json rename to packages/js-sdk/tsconfig.json diff --git a/packages/zk-crypto/package.json b/packages/zk-crypto/package.json index 38f35c2d..5b7da22c 100644 --- a/packages/zk-crypto/package.json +++ b/packages/zk-crypto/package.json @@ -29,7 +29,20 @@ "dist", "types" ], - "keywords": [], + "repository": { + "type": "git", + "url": "https://github.com/bnb-chain/greenfield-js-sdk", + "directory": "packages/zk-crypto" + }, + "homepage": "https://github.com/bnb-chain/greenfield-js-sdk/tree/alpha/packages/zk-crypto#readme", + "bugs": "https://github.com/bnb-chain/greenfield-js-sdk/issues", + "keywords": [ + "greenfiled", + "crypto", + "signature", + "EDDSA", + "ECDSA" + ], "author": "", "license": "MIT", "devDependencies": { From ca2aa4a8af62b0b6a0f10d0dba579f2acb088ed9 Mon Sep 17 00:00:00 2001 From: rrr523 Date: Mon, 18 Sep 2023 14:51:58 +0800 Subject: [PATCH 2/2] chore: Update package.json --- .changeset/great-teachers-thank.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .changeset/great-teachers-thank.md diff --git a/.changeset/great-teachers-thank.md b/.changeset/great-teachers-thank.md new file mode 100644 index 00000000..10b5078f --- /dev/null +++ b/.changeset/great-teachers-thank.md @@ -0,0 +1,8 @@ +--- +'@bnb-chain/create-gnfd-app': patch +'@bnb-chain/greenfiled-file-handle': patch +'@bnb-chain/greenfield-zk-crypto': patch +'@bnb-chain/greenfield-js-sdk': patch +--- + +chore: Update package.json