diff --git a/.changeset/tame-pandas-deny.md b/.changeset/tame-pandas-deny.md new file mode 100644 index 00000000..c15b86be --- /dev/null +++ b/.changeset/tame-pandas-deny.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 deps diff --git a/packages/chain-sdk/src/clients/spclient/spApis/bucketApproval.ts b/packages/chain-sdk/src/clients/spclient/spApis/bucketApproval.ts deleted file mode 100644 index 9d6ca5fd..00000000 --- a/packages/chain-sdk/src/clients/spclient/spApis/bucketApproval.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { EMPTY_STRING_SHA256, METHOD_GET } from '@/constants'; -import { ICreateBucketMsgType, ReqMeta } from '@/types'; -import { toHex, utf8ToBytes } from 'ethereum-cryptography/utils'; -import { getSortQuery } from '../auth'; - -// https://docs.bnbchain.org/greenfield-docs/docs/api/storgae-provider-rest/get_approval -export const getBucketApprovalMetaInfo = async (endpoint: string, msg: ICreateBucketMsgType) => { - const path = '/greenfield/admin/v1/get-approval'; - const queryMap = { - action: 'CreateBucket', - }; - const query = getSortQuery(queryMap); - const url = `${endpoint}${path}?${query}`; - const unSignedMessageInHex = toHex(utf8ToBytes(JSON.stringify(msg))); - - const reqMeta: Partial = { - contentSHA256: EMPTY_STRING_SHA256, - unsignMsg: unSignedMessageInHex, - method: METHOD_GET, - url: { - hostname: new URL(endpoint).hostname, - query, - path, - }, - }; - - const optionsWithOutHeaders: Omit = { - method: METHOD_GET, - }; - - return { - url, - optionsWithOutHeaders, - reqMeta, - }; -}; diff --git a/packages/chain-sdk/src/clients/spclient/spApis/migrateApproval.ts b/packages/chain-sdk/src/clients/spclient/spApis/migrateApproval.ts deleted file mode 100644 index 903039be..00000000 --- a/packages/chain-sdk/src/clients/spclient/spApis/migrateApproval.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { EMPTY_STRING_SHA256, METHOD_GET } from '@/constants'; -import { IMigrateBucketMsgType, ReqMeta } from '@/types'; -import { toHex, utf8ToBytes } from 'ethereum-cryptography/utils'; -import { getSortQuery } from '../auth'; - -// https://docs.bnbchain.org/greenfield-docs/docs/api/storgae-provider-rest/get_approval -export const getMigrateMetaInfo = async (endpoint: string, msg: IMigrateBucketMsgType) => { - const path = '/greenfield/admin/v1/get-approval'; - const queryMap = { - action: 'MigrateBucket', - }; - const query = getSortQuery(queryMap); - const url = `${endpoint}${path}?${query}`; - const unSignedMessageInHex = toHex(utf8ToBytes(JSON.stringify(msg))); - - const reqMeta: Partial = { - contentSHA256: EMPTY_STRING_SHA256, - method: METHOD_GET, - url: { - hostname: new URL(url).hostname, - query, - path, - }, - unsignMsg: unSignedMessageInHex, - }; - - const optionsWithOutHeaders: Omit = { - method: METHOD_GET, - }; - - return { - url, - optionsWithOutHeaders, - reqMeta, - }; -}; diff --git a/packages/chain-sdk/src/clients/spclient/spApis/objectApproval.ts b/packages/chain-sdk/src/clients/spclient/spApis/objectApproval.ts deleted file mode 100644 index a30339de..00000000 --- a/packages/chain-sdk/src/clients/spclient/spApis/objectApproval.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { EMPTY_STRING_SHA256, METHOD_GET } from '@/constants'; -import { ICreateObjectMsgType, ReqMeta } from '@/types'; -import { toHex, utf8ToBytes } from 'ethereum-cryptography/utils'; -import { getSortQuery } from '../auth'; - -// https://docs.bnbchain.org/greenfield-docs/docs/api/storgae-provider-rest/get_approval -export const getObjectApprovalMetaInfo = async (endpoint: string, msg: ICreateObjectMsgType) => { - const path = '/greenfield/admin/v1/get-approval'; - const queryMap = { - action: 'CreateObject', - }; - const query = getSortQuery(queryMap); - const url = `${endpoint}${path}?${query}`; - const unSignedMessageInHex = toHex(utf8ToBytes(JSON.stringify(msg))); - - const reqMeta: Partial = { - contentSHA256: EMPTY_STRING_SHA256, - unsignMsg: unSignedMessageInHex, - method: METHOD_GET, - url: { - hostname: new URL(endpoint).hostname, - query, - path, - }, - }; - - const optionsWithOutHeaders: Omit = { - method: METHOD_GET, - }; - - return { - url, - optionsWithOutHeaders, - reqMeta, - }; -}; diff --git a/packages/chain-sdk/src/types/sp-xml/Common.ts b/packages/chain-sdk/src/types/sp-xml/Common.ts deleted file mode 100644 index 931c1e67..00000000 --- a/packages/chain-sdk/src/types/sp-xml/Common.ts +++ /dev/null @@ -1,131 +0,0 @@ -export interface BucketMeta { - BucketInfo: BucketInfo; - Removed: boolean; - DeleteAt: number; - DeleteReason: string; - Operator: string; - CreateTxHash: string; - UpdateTxHash: string; - UpdateAt: number; - UpdateTime: number; -} - -export interface BucketInfo { - // PrimarySpId: number; - BucketName: string; - BucketStatus: number; - ChargedReadQuota: number; - CreateAt: number; - GlobalVirtualGroupFamilyId: number; - Id: string; - Owner: string; - PaymentAddress: string; - SourceType: number; - Visibility: number; -} - -export interface StreamRecord { - Account: string; - CrudTimestamp: string; - NetflowRate: string; - StaticBalance: string; - BufferBalance: string; - LockBalance: string; - Status: string; - SettleTimestamp: string; - OutFlowCount: string; - FrozenNetflowRate: string; -} - -export interface ObjectMeta { - ObjectInfo: ObjectInfo; - LockedBalance: string; - Removed: boolean; - UpdateAt: number; - DeleteAt: number; - DeleteReason: string; - Operator: string; - CreateTxHash: string; - UpdateTxHash: string; - SealTxHash: string; -} - -export interface ObjectInfo { - BucketName: string; - Checksums: string[]; - ContentType: string; - CreateAt: number; - Creator: string; - Id: number; - LocalVirtualGroupId: number; - ObjectName: string; - ObjectStatus: number; - Owner: string; - PayloadSize: number; - RedundancyType: number; - SourceType: number; - Visibility: number; -} - -export function formatBucketInfo(o: BucketInfo) { - return { - ...o, - // PrimarySpId: Number(item.BucketInfo.PrimarySpId), - BucketStatus: Number(o.BucketStatus), - ChargedReadQuota: Number(o.ChargedReadQuota), - CreateAt: Number(o.CreateAt), - GlobalVirtualGroupFamilyId: Number(o.GlobalVirtualGroupFamilyId), - SourceType: Number(o.SourceType), - Visibility: Number(o.Visibility), - }; -} - -export function formatObjectInfo(o: ObjectInfo) { - return { - ...o, - CreateAt: Number(o.CreateAt), - Id: Number(o.Id), - LocalVirtualGroupId: Number(o.LocalVirtualGroupId), - ObjectStatus: Number(o.ObjectStatus), - PayloadSize: Number(o.PayloadSize), - RedundancyType: Number(o.RedundancyType), - SourceType: Number(o.SourceType), - Visibility: Number(o.Visibility), - }; -} - -export function convertStrToBool(str: string) { - return String(str).toLowerCase() === 'true'; -} - -export interface ReadRecord { - ObjectName: string; - ObjectID: string; - ReadAccountAddress: string; - ReadTimestampUs: number; - ReadSize: number; -} - -export function formatReadRecord(o: ReadRecord) { - return { - ...o, - ReadTimestampUs: Number(o.ReadTimestampUs), - ReadSize: Number(o.ReadSize), - }; -} - -export interface GroupInfo { - Owner: string; - GroupName: string; - SourceType: number; - Id: number; - Extra: string; -} - -export function formatGroupInfo(o: GroupInfo) { - return { - ...o, - SourceType: Number(o.SourceType), - Id: Number(o.Id), - }; -} diff --git a/packages/chain-sdk/src/types/sp-xml/GetBucketMetaResponse.ts b/packages/chain-sdk/src/types/sp-xml/GetBucketMetaResponse.ts deleted file mode 100644 index 55272bf9..00000000 --- a/packages/chain-sdk/src/types/sp-xml/GetBucketMetaResponse.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { BucketMeta, StreamRecord } from './Common'; - -export interface GetBucketMetaRequest { - bucketName: string; - endpoint: string; -} - -export interface GetBucketMetaResponse { - GfSpGetBucketMetaResponse: GfSPGetBucketMetaResponse; -} - -export interface GfSPGetBucketMetaResponse { - Bucket: BucketMeta; - StreamRecord: StreamRecord; -} diff --git a/packages/chain-sdk/src/types/sp-xml/GetObjectMetaResponse.ts b/packages/chain-sdk/src/types/sp-xml/GetObjectMetaResponse.ts deleted file mode 100644 index 5c6d215d..00000000 --- a/packages/chain-sdk/src/types/sp-xml/GetObjectMetaResponse.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { ObjectMeta } from './Common'; - -export interface GetObjectMetaRequest { - bucketName: string; - objectName: string; - endpoint: string; -} - -export interface GetObjectMetaResponse { - GfSpGetObjectMetaResponse: GfSPGetObjectMetaResponse; -} - -export interface GfSPGetObjectMetaResponse { - Object: ObjectMeta; -} diff --git a/packages/chain-sdk/src/types/sp-xml/GetUserBucketsResponse.ts b/packages/chain-sdk/src/types/sp-xml/GetUserBucketsResponse.ts deleted file mode 100644 index 45c09a1e..00000000 --- a/packages/chain-sdk/src/types/sp-xml/GetUserBucketsResponse.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { BucketMeta } from './Common'; - -export interface GetUserBucketsResponse { - GfSpGetUserBucketsResponse: GfSPGetUserBucketsResponse; -} - -export interface GfSPGetUserBucketsResponse { - Buckets: BucketMeta[]; -} diff --git a/packages/chain-sdk/src/types/sp-xml/ListBucketReadRecordResponse.ts b/packages/chain-sdk/src/types/sp-xml/ListBucketReadRecordResponse.ts deleted file mode 100644 index ed7906aa..00000000 --- a/packages/chain-sdk/src/types/sp-xml/ListBucketReadRecordResponse.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ReadRecord } from './Common'; - -export interface ListBucketReadRecordResponse { - GetBucketReadQuotaResult: GetBucketReadQuotaResult; -} - -export interface GetBucketReadQuotaResult { - NextStartTimestampUs: string; - ReadRecords: ReadRecord[]; -} diff --git a/packages/chain-sdk/src/types/sp-xml/ListBucketsByIDsResponse.ts b/packages/chain-sdk/src/types/sp-xml/ListBucketsByIDsResponse.ts deleted file mode 100644 index 84c2c223..00000000 --- a/packages/chain-sdk/src/types/sp-xml/ListBucketsByIDsResponse.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { BucketInfo } from './Common'; - -export interface ListBucketsByIDsResponse { - GfSpListBucketsByIDsResponse: GfSpListBucketsByIDsResponse; -} - -export interface GfSpListBucketsByIDsResponse { - BucketEntry: BucketEntry[]; -} - -export interface BucketEntry { - Id: number; - Value: { - BucketInfo: BucketInfo; - Removed: boolean; - DeleteAt: number; - DeleteReason: string; - Operator: string; - CreateTxHash: string; - UpdateTxHash: string; - UpdateAt: number; - UpdateTime: number; - }; -} diff --git a/packages/chain-sdk/src/types/sp-xml/ListGroupsMembersResponse.ts b/packages/chain-sdk/src/types/sp-xml/ListGroupsMembersResponse.ts deleted file mode 100644 index 7c4b9441..00000000 --- a/packages/chain-sdk/src/types/sp-xml/ListGroupsMembersResponse.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { GroupInfo } from './Common'; - -export interface ListGroupsMembersResponse { - GfSpGetGroupMembersResponse: GfSpGetGroupMembersResponse; -} - -export interface GfSpGetGroupMembersResponse { - Groups: Group[]; -} - -interface Group { - Group: GroupInfo; - AccountId: string; - Operator: string; - CreateAt: number; - CreateTime: number; - UpdateAt: number; - UpdateTime: number; - Removed: boolean; - ExpirationTime: string; -} diff --git a/packages/chain-sdk/src/types/sp-xml/ListGroupsResponse.ts b/packages/chain-sdk/src/types/sp-xml/ListGroupsResponse.ts deleted file mode 100644 index d2755afd..00000000 --- a/packages/chain-sdk/src/types/sp-xml/ListGroupsResponse.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { GroupInfo } from './Common'; - -export interface ListGroupsResponse { - GfSpGetGroupListResponse: GfSpGetGroupListResponse; -} - -interface Group { - Group: GroupInfo; - Operator: string; - CreateAt: number; - CreateTime: number; - UpdateAt: number; - UpdateTime: number; - Removed: boolean; -} - -export interface GfSpGetGroupListResponse { - Groups: Group[]; - Count: number; -} diff --git a/packages/chain-sdk/src/types/sp-xml/ListObjectsByBucketNameResponse.ts b/packages/chain-sdk/src/types/sp-xml/ListObjectsByBucketNameResponse.ts deleted file mode 100644 index 8579f978..00000000 --- a/packages/chain-sdk/src/types/sp-xml/ListObjectsByBucketNameResponse.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { ObjectMeta } from './Common'; - -export interface ListObjectsByBucketNameResponse { - GfSpListObjectsByBucketNameResponse: GfSPListObjectsByBucketNameResponse; -} - -export interface GfSPListObjectsByBucketNameResponse { - Objects: ObjectMeta[]; - KeyCount: string; - MaxKeys: string; - IsTruncated: boolean; - NextContinuationToken: string; - Name: string; - Prefix: string; - Delimiter: string; - CommonPrefixes: string[]; - ContinuationToken: string; -} diff --git a/packages/chain-sdk/src/types/sp-xml/ListObjectsByIDsResponse.ts b/packages/chain-sdk/src/types/sp-xml/ListObjectsByIDsResponse.ts deleted file mode 100644 index 967b742e..00000000 --- a/packages/chain-sdk/src/types/sp-xml/ListObjectsByIDsResponse.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ObjectInfo } from './Common'; - -export interface ListObjectsByIDsResponse { - GfSpListObjectsByIDsResponse: GfSpListObjectsByIDsResponse; -} - -export interface GfSpListObjectsByIDsResponse { - ObjectEntry: ObjectEntry[]; -} - -export interface ObjectEntry { - Id: number; - Value: { - ObjectInfo: ObjectInfo; - LockedBalance: string; - Removed: boolean; - UpdateAt: number; - DeleteAt: number; - DeleteReason: string; - Operator: string; - CreateTxHash: string; - UpdateTxHash: string; - SealTxHash: string; - }; -} diff --git a/packages/chain-sdk/src/types/sp-xml/ListUserGroupsResponse.ts b/packages/chain-sdk/src/types/sp-xml/ListUserGroupsResponse.ts deleted file mode 100644 index b89398af..00000000 --- a/packages/chain-sdk/src/types/sp-xml/ListUserGroupsResponse.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { GroupInfo } from './Common'; - -export interface ListUserGroupsResponse { - GfSpGetUserGroupsResponse: GfSpGetUserGroupsResponse; -} - -export interface GfSpGetUserGroupsResponse { - Groups: Group[]; -} - -interface Group { - Group: GroupInfo; - AccountId: string; - Operator: string; - CreateAt: number; - CreateTime: number; - UpdateAt: number; - UpdateTime: number; - Removed: boolean; - ExpirationTime: string; -} diff --git a/packages/chain-sdk/src/types/sp-xml/ListUserOwnedGroupsResponse.ts b/packages/chain-sdk/src/types/sp-xml/ListUserOwnedGroupsResponse.ts deleted file mode 100644 index c3e1a058..00000000 --- a/packages/chain-sdk/src/types/sp-xml/ListUserOwnedGroupsResponse.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { GroupInfo } from './Common'; - -export interface ListUserOwnedGroupsResponse { - GfSpGetUserOwnedGroupsResponse: GfSpGetUserOwnedGroupsResponse; -} - -export interface GfSpGetUserOwnedGroupsResponse { - Groups: Group[]; -} - -interface Group { - Group: GroupInfo; - AccountId: string; - Operator: string; - CreateAt: number; - CreateTime: number; - UpdateAt: number; - UpdateTime: number; - Removed: boolean; - ExpirationTime: string; -} diff --git a/packages/chain-sdk/src/types/sp-xml/ReadQuotaResponse.ts b/packages/chain-sdk/src/types/sp-xml/ReadQuotaResponse.ts deleted file mode 100644 index 5498c434..00000000 --- a/packages/chain-sdk/src/types/sp-xml/ReadQuotaResponse.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface ReadQuotaResponse { - GetReadQuotaResult: { - BucketName: string; - BucketID: string; - ReadQuotaSize: number; - SPFreeReadQuotaSize: number; - ReadConsumedSize: number; - FreeConsumedSize: number; - }; -} diff --git a/packages/chain-sdk/src/types/sp-xml/RequestErrorResponse.ts b/packages/chain-sdk/src/types/sp-xml/RequestErrorResponse.ts deleted file mode 100644 index c9ebf94c..00000000 --- a/packages/chain-sdk/src/types/sp-xml/RequestErrorResponse.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface RequestErrorResponse { - Error: { - Code: string; - Message: string; - }; -} diff --git a/packages/chain-sdk/src/types/sp-xml/RequestNonceResponse.ts b/packages/chain-sdk/src/types/sp-xml/RequestNonceResponse.ts deleted file mode 100644 index aa129d46..00000000 --- a/packages/chain-sdk/src/types/sp-xml/RequestNonceResponse.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface RequestNonceResponse { - RequestNonceResp: { - CurrentNonce: number; - CurrentPublicKey: string; - ExpiryDate: string; - NextNonce: number; - }; -} diff --git a/packages/chain-sdk/src/types/sp-xml/VerifyPermissionResponse.ts b/packages/chain-sdk/src/types/sp-xml/VerifyPermissionResponse.ts deleted file mode 100644 index f0aed8ae..00000000 --- a/packages/chain-sdk/src/types/sp-xml/VerifyPermissionResponse.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface VerifyPermissionResponse { - QueryVerifyPermissionResponse: QueryVerifyPermissionResponse; -} - -export interface QueryVerifyPermissionResponse { - Effect: number; -} diff --git a/packages/chain-sdk/src/types/sp-xml/index.ts b/packages/chain-sdk/src/types/sp-xml/index.ts deleted file mode 100644 index 3bf8b1a8..00000000 --- a/packages/chain-sdk/src/types/sp-xml/index.ts +++ /dev/null @@ -1,14 +0,0 @@ -export * from './GetBucketMetaResponse'; -export * from './GetObjectMetaResponse'; -export * from './GetUserBucketsResponse'; -export * from './ListBucketReadRecordResponse'; -export * from './ListBucketsByIDsResponse'; -export * from './ListGroupsMembersResponse'; -export * from './ListGroupsResponse'; -export * from './ListObjectsByBucketNameResponse'; -export * from './ListObjectsByIDsResponse'; -export * from './ListUserGroupsResponse'; -export * from './ReadQuotaResponse'; -export * from './RequestErrorResponse'; -export * from './RequestNonceResponse'; -export * from './VerifyPermissionResponse'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1410fc42..066f1fb8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -112,7 +112,7 @@ importers: dependencies: '@bnb-chain/greenfield-js-sdk': specifier: workspace:* - version: link:../../packages/chain-sdk + version: link:../../packages/js-sdk '@bnb-chain/greenfiled-file-handle': specifier: workspace:* version: link:../../packages/file-handle @@ -197,7 +197,7 @@ importers: dependencies: '@bnb-chain/greenfield-js-sdk': specifier: workspace:* - version: link:../../packages/chain-sdk + version: link:../../packages/js-sdk '@bnb-chain/greenfiled-file-handle': specifier: workspace:* version: link:../../packages/file-handle @@ -206,7 +206,68 @@ importers: specifier: ^7.0.3 version: 7.0.3 - packages/chain-sdk: + packages/create-gnfd-app: + dependencies: + '@inquirer/prompts': + specifier: ^3.1.1 + version: 3.1.1 + commander: + specifier: ^11.0.0 + version: 11.0.0 + cross-spawn: + specifier: ^7.0.3 + version: 7.0.3 + download-git-repo: + specifier: ^3.0.2 + version: 3.0.2 + fs-extra: + specifier: ^11.1.1 + version: 11.1.1 + handlebars: + specifier: ^4.7.8 + version: 4.7.8 + ora: + specifier: ^5.4.0 + version: 5.4.1 + picocolors: + specifier: ^1.0.0 + version: 1.0.0 + validate-npm-package-name: + specifier: ^5.0.0 + version: 5.0.0 + devDependencies: + '@types/cross-spawn': + specifier: ^6.0.3 + version: 6.0.3 + '@types/fs-extra': + specifier: ^11.0.1 + version: 11.0.1 + '@types/validate-npm-package-name': + specifier: ^4.0.0 + version: 4.0.0 + + packages/file-handle: + devDependencies: + clean-webpack-plugin: + specifier: ^4.0.0 + version: 4.0.0(webpack@5.88.1) + copy-webpack-plugin: + specifier: ^11.0.0 + version: 11.0.0(webpack@5.88.1) + rimraf: + specifier: ^3.0.2 + version: 3.0.2 + typescript: + specifier: ^5.1.6 + version: 5.2.2 + webpack: + specifier: ^5.88.1 + version: 5.88.1(webpack-cli@5.1.4) + webpack-cli: + specifier: ^5.1.4 + version: 5.1.4(webpack@5.88.1) + + packages/js-sdk: dependencies: '@bnb-chain/greenfield-cosmos-types': specifier: 0.4.0-alpha.23 @@ -312,67 +373,6 @@ importers: specifier: ^4.9.5 version: 4.9.5 - packages/create-gnfd-app: - dependencies: - '@inquirer/prompts': - specifier: ^3.1.1 - version: 3.1.1 - commander: - specifier: ^11.0.0 - version: 11.0.0 - cross-spawn: - specifier: ^7.0.3 - version: 7.0.3 - download-git-repo: - specifier: ^3.0.2 - version: 3.0.2 - fs-extra: - specifier: ^11.1.1 - version: 11.1.1 - handlebars: - specifier: ^4.7.8 - version: 4.7.8 - ora: - specifier: ^5.4.0 - version: 5.4.1 - picocolors: - specifier: ^1.0.0 - version: 1.0.0 - validate-npm-package-name: - specifier: ^5.0.0 - version: 5.0.0 - devDependencies: - '@types/cross-spawn': - specifier: ^6.0.3 - version: 6.0.3 - '@types/fs-extra': - specifier: ^11.0.1 - version: 11.0.1 - '@types/validate-npm-package-name': - specifier: ^4.0.0 - version: 4.0.0 - - packages/file-handle: - devDependencies: - clean-webpack-plugin: - specifier: ^4.0.0 - version: 4.0.0(webpack@5.88.1) - copy-webpack-plugin: - specifier: ^11.0.0 - version: 11.0.0(webpack@5.88.1) - rimraf: - specifier: ^3.0.2 - version: 3.0.2 - typescript: - specifier: ^5.1.6 - version: 5.2.2 - webpack: - specifier: ^5.88.1 - version: 5.88.1(webpack-cli@5.1.4) - webpack-cli: - specifier: ^5.1.4 - version: 5.1.4(webpack@5.88.1) - packages/zk-crypto: devDependencies: clean-webpack-plugin: