@nadohq/shared 0.1.0-alpha.40 → 0.1.0-alpha.41
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.
|
@@ -46,6 +46,13 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
46
46
|
custom?: Record<string, unknown> | undefined;
|
|
47
47
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
48
48
|
formatters?: undefined;
|
|
49
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
50
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
51
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
52
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
53
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
54
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
55
|
+
}] | undefined;
|
|
49
56
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
50
57
|
};
|
|
51
58
|
readonly inkTestnet: {
|
|
@@ -345,6 +352,13 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
345
352
|
type: "transactionReceipt";
|
|
346
353
|
};
|
|
347
354
|
};
|
|
355
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
356
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
357
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
358
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
359
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
360
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
361
|
+
}] | undefined;
|
|
348
362
|
serializers: {
|
|
349
363
|
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
350
364
|
};
|
|
@@ -647,6 +661,13 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
647
661
|
type: "transactionReceipt";
|
|
648
662
|
};
|
|
649
663
|
};
|
|
664
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
665
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
666
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
667
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
668
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
669
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
670
|
+
}] | undefined;
|
|
650
671
|
serializers: {
|
|
651
672
|
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
652
673
|
};
|
|
@@ -46,6 +46,13 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
46
46
|
custom?: Record<string, unknown> | undefined;
|
|
47
47
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
48
48
|
formatters?: undefined;
|
|
49
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
50
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
51
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
52
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
53
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
54
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
55
|
+
}] | undefined;
|
|
49
56
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
50
57
|
};
|
|
51
58
|
readonly inkTestnet: {
|
|
@@ -345,6 +352,13 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
345
352
|
type: "transactionReceipt";
|
|
346
353
|
};
|
|
347
354
|
};
|
|
355
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
356
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
357
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
358
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
359
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
360
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
361
|
+
}] | undefined;
|
|
348
362
|
serializers: {
|
|
349
363
|
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
350
364
|
};
|
|
@@ -647,6 +661,13 @@ declare const CHAIN_ENV_TO_CHAIN: {
|
|
|
647
661
|
type: "transactionReceipt";
|
|
648
662
|
};
|
|
649
663
|
};
|
|
664
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
665
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
666
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
667
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
668
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
669
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
670
|
+
}] | undefined;
|
|
650
671
|
serializers: {
|
|
651
672
|
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
652
673
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadohq/shared",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.41",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"description": "Shared utilities, types, and contract helpers for Nado SDK",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"bignumber.js": "^9.3.0",
|
|
50
50
|
"viem": "*"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "dbfcd352246b8914985af6b333cc49e2b8624473"
|
|
53
53
|
}
|