@bulletxyz/bullet-sdk 0.27.0-rc.1 → 0.27.0-rc.3
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/browser/index.js +7 -437
- package/dist/browser/index.js.map +4 -4
- package/dist/node/index.js +9 -446
- package/dist/node/index.js.map +4 -4
- package/dist/types/rollupTypes.d.ts +20 -7
- package/dist/types/wallet/nodeWallet.d.ts +2 -2
- package/package.json +4 -2
- package/dist/browser/wallet_wasm_bg-V72TF7PW.wasm +0 -0
- package/dist/node/wallet_wasm_bg-V72TF7PW.wasm +0 -0
|
@@ -23,16 +23,10 @@ type BankCallMessage = {
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
type WarpCallMessage = {
|
|
26
|
-
|
|
26
|
+
register: {
|
|
27
27
|
admin: {
|
|
28
28
|
InsecureOwner: Address;
|
|
29
29
|
};
|
|
30
|
-
ism: {
|
|
31
|
-
MessageIdMultisig: {
|
|
32
|
-
threshold: number;
|
|
33
|
-
validators: string[];
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
30
|
token_source: {
|
|
37
31
|
Synthetic: {
|
|
38
32
|
remote_token_id: string;
|
|
@@ -40,7 +34,26 @@ type WarpCallMessage = {
|
|
|
40
34
|
remote_decimals: number;
|
|
41
35
|
};
|
|
42
36
|
};
|
|
37
|
+
ism: {
|
|
38
|
+
MessageIdMultisig: {
|
|
39
|
+
threshold: number;
|
|
40
|
+
validators: string[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
43
|
remote_routers: [number, string][];
|
|
44
|
+
inbound_transferrable_tokens_limit: string;
|
|
45
|
+
inbound_limit_replenishment_per_slot: string;
|
|
46
|
+
outbound_transferrable_tokens_limit: string;
|
|
47
|
+
outbound_limit_replenishment_per_slot: string;
|
|
48
|
+
};
|
|
49
|
+
enroll_remote_router: {
|
|
50
|
+
warp_route: string;
|
|
51
|
+
remote_domain: number;
|
|
52
|
+
remote_router_address: string;
|
|
53
|
+
};
|
|
54
|
+
un_enroll_remote_router: {
|
|
55
|
+
warp_route: string;
|
|
56
|
+
remote_domain: number;
|
|
44
57
|
};
|
|
45
58
|
};
|
|
46
59
|
type TriggerOrderArgs = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Ed25519Signer } from "@sovereign-sdk/signers";
|
|
2
2
|
import type { PrivateKey, PublicKey } from "../types";
|
|
3
3
|
import { Wallet } from "./wallet";
|
|
4
4
|
export declare class NodeWallet extends Wallet {
|
|
@@ -8,5 +8,5 @@ export declare class NodeWallet extends Wallet {
|
|
|
8
8
|
static fromPrivateKeyBytes(privateKeyBytes: Uint8Array): Promise<NodeWallet>;
|
|
9
9
|
static fromLocalSolanaWallet(filePath?: string): NodeWallet;
|
|
10
10
|
static fromLocalSovWallet(filePath: string): Promise<NodeWallet>;
|
|
11
|
-
getSigner():
|
|
11
|
+
getSigner(): Ed25519Signer;
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/zetamarkets/bullet-sdk.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.27.0-rc.
|
|
7
|
+
"version": "0.27.0-rc.3",
|
|
8
8
|
"description": "Bullet SDK",
|
|
9
9
|
"author": "@bulletxyz",
|
|
10
10
|
"license": "Apache-2.0",
|
|
@@ -47,7 +47,9 @@
|
|
|
47
47
|
"release": "npm version patch && git push --tags && npm publish",
|
|
48
48
|
"format": "biome check --write",
|
|
49
49
|
"lint": "biome lint",
|
|
50
|
-
"ci": "biome ci"
|
|
50
|
+
"ci": "biome ci",
|
|
51
|
+
"warp:deploy": "tsx --experimental-wasm-modules scripts/warp-routes/cli.ts deploy",
|
|
52
|
+
"warp:deploy-all": "tsx --experimental-wasm-modules scripts/warp-routes/cli.ts deploy-all"
|
|
51
53
|
},
|
|
52
54
|
"devDependencies": {
|
|
53
55
|
"@biomejs/biome": "^1.9.4",
|
|
Binary file
|
|
Binary file
|