@acala-network/chopsticks-utils 0.12.1 → 0.13.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/package.json +1 -1
- package/dist/esm/index.d.ts +2 -2
- package/package.json +12 -10
package/dist/cjs/index.d.ts
CHANGED
|
@@ -84,10 +84,10 @@ export declare function defer<T>(): {
|
|
|
84
84
|
reject: (reason: any) => void;
|
|
85
85
|
promise: Promise<T>;
|
|
86
86
|
};
|
|
87
|
-
export declare const sendTransaction: (tx: Promise<SubmittableExtrinsic<
|
|
87
|
+
export declare const sendTransaction: (tx: Promise<SubmittableExtrinsic<"promise">>) => Promise<{
|
|
88
88
|
events: Promise<Codec[]>;
|
|
89
89
|
}>;
|
|
90
|
-
export declare const testingPairs: (keyringType?:
|
|
90
|
+
export declare const testingPairs: (keyringType?: "ed25519" | "sr25519", ss58Format?: number) => {
|
|
91
91
|
alice: import("@polkadot/keyring/types").KeyringPair;
|
|
92
92
|
bob: import("@polkadot/keyring/types").KeyringPair;
|
|
93
93
|
charlie: import("@polkadot/keyring/types").KeyringPair;
|
package/dist/cjs/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type": "commonjs"}
|
|
1
|
+
{ "type": "commonjs" }
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -84,10 +84,10 @@ export declare function defer<T>(): {
|
|
|
84
84
|
reject: (reason: any) => void;
|
|
85
85
|
promise: Promise<T>;
|
|
86
86
|
};
|
|
87
|
-
export declare const sendTransaction: (tx: Promise<SubmittableExtrinsic<
|
|
87
|
+
export declare const sendTransaction: (tx: Promise<SubmittableExtrinsic<"promise">>) => Promise<{
|
|
88
88
|
events: Promise<Codec[]>;
|
|
89
89
|
}>;
|
|
90
|
-
export declare const testingPairs: (keyringType?:
|
|
90
|
+
export declare const testingPairs: (keyringType?: "ed25519" | "sr25519", ss58Format?: number) => {
|
|
91
91
|
alice: import("@polkadot/keyring/types").KeyringPair;
|
|
92
92
|
bob: import("@polkadot/keyring/types").KeyringPair;
|
|
93
93
|
charlie: import("@polkadot/keyring/types").KeyringPair;
|
package/package.json
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acala-network/chopsticks-utils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0-1",
|
|
4
4
|
"author": "Acala Developers <hello@acala.network>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|
|
9
|
-
"build": "yarn clean &&
|
|
10
|
-
"
|
|
11
|
-
"build:esm": "swc ./src --config-file ../../.esmswcrc -d dist/esm && tsc -p tsconfig.json --declarationDir dist/esm"
|
|
9
|
+
"build": "yarn clean && ../../package-build.sh",
|
|
10
|
+
"depcheck": "npx depcheck"
|
|
12
11
|
},
|
|
13
12
|
"dependencies": {
|
|
14
|
-
"@acala-network/chopsticks": "0.
|
|
15
|
-
"@polkadot/api": "^
|
|
16
|
-
"@polkadot/
|
|
13
|
+
"@acala-network/chopsticks": "0.13.0-1",
|
|
14
|
+
"@polkadot/api": "^12.1.1",
|
|
15
|
+
"@polkadot/api-base": "^12.1.1",
|
|
16
|
+
"@polkadot/keyring": "^12.6.2",
|
|
17
|
+
"@polkadot/types": "^12.1.1",
|
|
18
|
+
"@polkadot/util": "^12.6.2"
|
|
17
19
|
},
|
|
18
20
|
"devDependencies": {
|
|
19
|
-
"@swc/cli": "0.
|
|
20
|
-
"@swc/core": "^1.
|
|
21
|
-
"typescript": "^5.
|
|
21
|
+
"@swc/cli": "0.4.0",
|
|
22
|
+
"@swc/core": "^1.6.7",
|
|
23
|
+
"typescript": "^5.5.3"
|
|
22
24
|
},
|
|
23
25
|
"files": [
|
|
24
26
|
"dist/esm/**",
|