@d9-network/ink 1.2.0 → 1.2.5
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -3
package/dist/index.d.cts
CHANGED
|
@@ -400,7 +400,7 @@ interface ContractMessageBuilder<M$1 extends InkCallableDescriptor> {
|
|
|
400
400
|
* @example
|
|
401
401
|
* ```ts
|
|
402
402
|
* import { createMessageBuilder } from '@d9-network/ink';
|
|
403
|
-
* import { contracts } from '@
|
|
403
|
+
* import { contracts } from '@d9-network/spec';
|
|
404
404
|
*
|
|
405
405
|
* const builder = createMessageBuilder(contracts.usdt);
|
|
406
406
|
*
|
|
@@ -687,7 +687,7 @@ interface D9InkSdkOptions {
|
|
|
687
687
|
interface D9InkSdk {
|
|
688
688
|
/**
|
|
689
689
|
* Get a contract instance for interacting with a deployed contract
|
|
690
|
-
* @param descriptor - The contract descriptor from @
|
|
690
|
+
* @param descriptor - The contract descriptor from @d9-network/spec
|
|
691
691
|
* @param address - The contract address (SS58 format)
|
|
692
692
|
*/
|
|
693
693
|
getContract<S extends InkStorageDescriptor, M$1 extends InkCallableDescriptor, C extends InkCallableDescriptor, E extends Event>(descriptor: InkDescriptors<S, M$1, C, E>, address: SS58String): D9InkContract<M$1, E>;
|
|
@@ -870,7 +870,7 @@ interface D9InkSdkWithRpc extends D9InkSdk {
|
|
|
870
870
|
* @example
|
|
871
871
|
* ```ts
|
|
872
872
|
* import { createD9InkSdk } from "@d9-network/ink";
|
|
873
|
-
* import { contracts } from "@
|
|
873
|
+
* import { contracts } from "@d9-network/spec";
|
|
874
874
|
*
|
|
875
875
|
* const sdk = createD9InkSdk(client);
|
|
876
876
|
* const usdtContract = sdk.getContract(
|
package/dist/index.d.mts
CHANGED
|
@@ -400,7 +400,7 @@ interface ContractMessageBuilder<M$1 extends InkCallableDescriptor> {
|
|
|
400
400
|
* @example
|
|
401
401
|
* ```ts
|
|
402
402
|
* import { createMessageBuilder } from '@d9-network/ink';
|
|
403
|
-
* import { contracts } from '@
|
|
403
|
+
* import { contracts } from '@d9-network/spec';
|
|
404
404
|
*
|
|
405
405
|
* const builder = createMessageBuilder(contracts.usdt);
|
|
406
406
|
*
|
|
@@ -687,7 +687,7 @@ interface D9InkSdkOptions {
|
|
|
687
687
|
interface D9InkSdk {
|
|
688
688
|
/**
|
|
689
689
|
* Get a contract instance for interacting with a deployed contract
|
|
690
|
-
* @param descriptor - The contract descriptor from @
|
|
690
|
+
* @param descriptor - The contract descriptor from @d9-network/spec
|
|
691
691
|
* @param address - The contract address (SS58 format)
|
|
692
692
|
*/
|
|
693
693
|
getContract<S extends InkStorageDescriptor, M$1 extends InkCallableDescriptor, C extends InkCallableDescriptor, E extends Event>(descriptor: InkDescriptors<S, M$1, C, E>, address: SS58String): D9InkContract<M$1, E>;
|
|
@@ -870,7 +870,7 @@ interface D9InkSdkWithRpc extends D9InkSdk {
|
|
|
870
870
|
* @example
|
|
871
871
|
* ```ts
|
|
872
872
|
* import { createD9InkSdk } from "@d9-network/ink";
|
|
873
|
-
* import { contracts } from "@
|
|
873
|
+
* import { contracts } from "@d9-network/spec";
|
|
874
874
|
*
|
|
875
875
|
* const sdk = createD9InkSdk(client);
|
|
876
876
|
* const usdtContract = sdk.getContract(
|
package/dist/index.mjs
CHANGED
|
@@ -881,7 +881,7 @@ function createNativeTransferStream(client, getEvents, watchAddress) {
|
|
|
881
881
|
* @example
|
|
882
882
|
* ```ts
|
|
883
883
|
* import { createMessageBuilder } from '@d9-network/ink';
|
|
884
|
-
* import { contracts } from '@
|
|
884
|
+
* import { contracts } from '@d9-network/spec';
|
|
885
885
|
*
|
|
886
886
|
* const builder = createMessageBuilder(contracts.usdt);
|
|
887
887
|
*
|
|
@@ -1339,7 +1339,7 @@ function createD9InkContract(descriptor, address, options) {
|
|
|
1339
1339
|
* @example
|
|
1340
1340
|
* ```ts
|
|
1341
1341
|
* import { createD9InkSdk } from "@d9-network/ink";
|
|
1342
|
-
* import { contracts } from "@
|
|
1342
|
+
* import { contracts } from "@d9-network/spec";
|
|
1343
1343
|
*
|
|
1344
1344
|
* const sdk = createD9InkSdk(client);
|
|
1345
1345
|
* const usdtContract = sdk.getContract(
|