@xyo-network/chain-sdk 1.7.1 → 1.7.2
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.
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
|
|
3
|
-
export * from '@xyo-network/chain-orchestration';
|
|
4
|
-
export * from '@xyo-network/chain-protocol';
|
|
5
|
-
export * from '@xyo-network/chain-services';
|
|
6
|
-
export * from '@xyo-network/chain-utils';
|
|
7
|
-
export * from '@xyo-network/chain-validation';
|
|
8
|
-
export * from '@xyo-network/xl1-protocol';
|
|
1
|
+
export * from './index-shared.ts';
|
|
2
|
+
//# sourceMappingURL=index-browser.d.ts.map
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
|
|
4
|
-
export * from '@xyo-network/chain-protocol';
|
|
5
|
-
export * from '@xyo-network/chain-services';
|
|
6
|
-
export * from '@xyo-network/chain-utils';
|
|
7
|
-
export * from '@xyo-network/chain-validation';
|
|
8
|
-
import { HydratedBlock } from '@xyo-network/xl1-protocol';
|
|
9
|
-
export * from '@xyo-network/xl1-protocol';
|
|
10
|
-
import { ChildProcess } from 'node:child_process';
|
|
11
|
-
import { Address } from '@xylabs/hex';
|
|
12
|
-
import { AccountInstance } from '@xyo-network/account-model';
|
|
13
|
-
import { WalletInstance } from '@xyo-network/wallet-model';
|
|
14
|
-
|
|
15
|
-
declare function startGanache(port: number, mnemonic: string): Promise<ChildProcess>;
|
|
16
|
-
declare function stopGanache(process?: ChildProcess | undefined): void;
|
|
17
|
-
|
|
18
|
-
declare const createTestErc20: (ganachePort: number, testPhrase: string, contractCreator: WalletInstance) => Promise<Address>;
|
|
19
|
-
declare const transferTestTokens: (ganachePort: number, erc20Address: Address, account0: WalletInstance, account1: WalletInstance) => Promise<void>;
|
|
20
|
-
declare const createTestChainContract: (ganachePort: number, erc20Address: Address, account0: WalletInstance, initialProducer: AccountInstance) => Promise<Address>;
|
|
21
|
-
declare const approveTestStakeChainAddress: (ganachePort: number, erc20Address: Address, xyoChainContractAddress: Address, account1: WalletInstance) => Promise<void>;
|
|
22
|
-
declare const createTestGenesisBlock: (blockProducerAccounts: WalletInstance[]) => Promise<HydratedBlock>;
|
|
23
|
-
|
|
24
|
-
export { approveTestStakeChainAddress, createTestChainContract, createTestErc20, createTestGenesisBlock, startGanache, stopGanache, transferTestTokens };
|
|
1
|
+
export * from './index-shared.ts';
|
|
2
|
+
export * from './test/index.ts';
|
|
3
|
+
//# sourceMappingURL=index-node.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@xyo-network/chain-sdk",
|
|
4
|
-
"version": "1.7.
|
|
4
|
+
"version": "1.7.2",
|
|
5
5
|
"description": "XYO Layer One SDK",
|
|
6
6
|
"homepage": "https://xylabs.com",
|
|
7
7
|
"bugs": {
|
|
@@ -49,39 +49,39 @@
|
|
|
49
49
|
"deploy3": "echo Deploy3 not allowed!"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@xylabs/assert": "^4.13.
|
|
53
|
-
"@xylabs/delay": "^4.13.
|
|
54
|
-
"@xylabs/hex": "^4.13.
|
|
55
|
-
"@xyo-network/account": "^4.1.
|
|
56
|
-
"@xyo-network/account-model": "^4.1.
|
|
57
|
-
"@xyo-network/chain-ethereum": "^1.7.
|
|
58
|
-
"@xyo-network/chain-modules": "^1.7.
|
|
59
|
-
"@xyo-network/chain-orchestration": "^1.7.
|
|
60
|
-
"@xyo-network/chain-protocol": "^1.7.
|
|
61
|
-
"@xyo-network/chain-services": "^1.7.
|
|
62
|
-
"@xyo-network/chain-utils": "^1.7.
|
|
63
|
-
"@xyo-network/chain-validation": "^1.7.
|
|
64
|
-
"@xyo-network/payload-builder": "^4.1.
|
|
52
|
+
"@xylabs/assert": "^4.13.17",
|
|
53
|
+
"@xylabs/delay": "^4.13.17",
|
|
54
|
+
"@xylabs/hex": "^4.13.17",
|
|
55
|
+
"@xyo-network/account": "^4.1.3",
|
|
56
|
+
"@xyo-network/account-model": "^4.1.3",
|
|
57
|
+
"@xyo-network/chain-ethereum": "^1.7.2",
|
|
58
|
+
"@xyo-network/chain-modules": "^1.7.2",
|
|
59
|
+
"@xyo-network/chain-orchestration": "^1.7.2",
|
|
60
|
+
"@xyo-network/chain-protocol": "^1.7.2",
|
|
61
|
+
"@xyo-network/chain-services": "^1.7.2",
|
|
62
|
+
"@xyo-network/chain-utils": "^1.7.2",
|
|
63
|
+
"@xyo-network/chain-validation": "^1.7.2",
|
|
64
|
+
"@xyo-network/payload-builder": "^4.1.3",
|
|
65
65
|
"@xyo-network/typechain": "^3.5.4",
|
|
66
|
-
"@xyo-network/wallet-model": "^4.1.
|
|
67
|
-
"@xyo-network/xl1-protocol": "^1.
|
|
68
|
-
"@xyo-network/xl1-protocol-sdk": "^1.7.
|
|
66
|
+
"@xyo-network/wallet-model": "^4.1.3",
|
|
67
|
+
"@xyo-network/xl1-protocol": "^1.7.1",
|
|
68
|
+
"@xyo-network/xl1-protocol-sdk": "^1.7.2",
|
|
69
69
|
"ethers": "6.15.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/node": "^24.0.14",
|
|
73
|
-
"@xylabs/decimal-precision": "^4.13.
|
|
74
|
-
"@xylabs/delay": "^4.13.
|
|
75
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.
|
|
76
|
-
"@xylabs/tsconfig": "^7.0.0-rc.
|
|
77
|
-
"@xyo-network/account": "^4.1.
|
|
78
|
-
"@xyo-network/account-model": "^4.1.
|
|
79
|
-
"@xyo-network/archivist-memory": "^4.1.
|
|
80
|
-
"@xyo-network/archivist-model": "^4.1.
|
|
81
|
-
"@xyo-network/boundwitness-builder": "^4.1.
|
|
82
|
-
"@xyo-network/chain-analyze": "^1.7.
|
|
83
|
-
"@xyo-network/payload-model": "^4.1.
|
|
84
|
-
"@xyo-network/wallet": "^4.1.
|
|
73
|
+
"@xylabs/decimal-precision": "^4.13.17",
|
|
74
|
+
"@xylabs/delay": "^4.13.17",
|
|
75
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.27",
|
|
76
|
+
"@xylabs/tsconfig": "^7.0.0-rc.27",
|
|
77
|
+
"@xyo-network/account": "^4.1.3",
|
|
78
|
+
"@xyo-network/account-model": "^4.1.3",
|
|
79
|
+
"@xyo-network/archivist-memory": "^4.1.3",
|
|
80
|
+
"@xyo-network/archivist-model": "^4.1.3",
|
|
81
|
+
"@xyo-network/boundwitness-builder": "^4.1.3",
|
|
82
|
+
"@xyo-network/chain-analyze": "^1.7.2",
|
|
83
|
+
"@xyo-network/payload-model": "^4.1.3",
|
|
84
|
+
"@xyo-network/wallet": "^4.1.3",
|
|
85
85
|
"eslint": "^9.31.0",
|
|
86
86
|
"knip": "^5.61.3",
|
|
87
87
|
"typescript": "^5.8.3",
|