@aboutcircles/sdk-runner 0.1.24 → 0.1.26
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.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/safe-browser-runner.d.ts +1 -1
- package/dist/safe-browser-runner.d.ts.map +1 -1
- package/dist/safe-browser-runner.js +1 -1
- package/dist/safe-runner.d.ts +1 -1
- package/dist/safe-runner.d.ts.map +1 -1
- package/dist/safe-runner.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Contract runner implementations for executing blockchain operations.
|
|
5
5
|
* Provides Safe multisig wallet integration for transaction execution.
|
|
6
6
|
*/
|
|
7
|
-
export type { ContractRunner, BatchRun } from './runner';
|
|
8
|
-
export { SafeContractRunner, SafeBatchRun } from './safe-runner';
|
|
9
|
-
export { SafeBrowserRunner, SafeBrowserBatchRun } from './safe-browser-runner';
|
|
10
|
-
export { RunnerError } from './errors';
|
|
11
|
-
export type { RunnerErrorSource } from './errors';
|
|
7
|
+
export type { ContractRunner, BatchRun } from './runner.js';
|
|
8
|
+
export { SafeContractRunner, SafeBatchRun } from './safe-runner.js';
|
|
9
|
+
export { SafeBrowserRunner, SafeBrowserBatchRun } from './safe-browser-runner.js';
|
|
10
|
+
export { RunnerError } from './errors.js';
|
|
11
|
+
export type { RunnerErrorSource } from './errors.js';
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,YAAY,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,YAAY,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAG5D,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGpE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAGlF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,YAAY,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -28312,7 +28312,7 @@ var require_fromBytes = __commonJS((exports) => {
|
|
|
28312
28312
|
// ../../node_modules/viem/_cjs/utils/abi/decodeAbiParameters.js
|
|
28313
28313
|
var require_decodeAbiParameters = __commonJS((exports) => {
|
|
28314
28314
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28315
|
-
exports.decodeAbiParameters =
|
|
28315
|
+
exports.decodeAbiParameters = decodeAbiParameters5;
|
|
28316
28316
|
var abi_js_1 = require_abi();
|
|
28317
28317
|
var getAddress_js_1 = require_getAddress();
|
|
28318
28318
|
var cursor_js_1 = require_cursor2();
|
|
@@ -28323,7 +28323,7 @@ var require_decodeAbiParameters = __commonJS((exports) => {
|
|
|
28323
28323
|
var toBytes_js_1 = require_toBytes();
|
|
28324
28324
|
var toHex_js_1 = require_toHex();
|
|
28325
28325
|
var encodeAbiParameters_js_1 = require_encodeAbiParameters();
|
|
28326
|
-
function
|
|
28326
|
+
function decodeAbiParameters5(params, data) {
|
|
28327
28327
|
const bytes = typeof data === "string" ? (0, toBytes_js_1.hexToBytes)(data) : data;
|
|
28328
28328
|
const cursor = (0, cursor_js_1.createCursor)(bytes);
|
|
28329
28329
|
if ((0, size_js_1.size)(bytes) === 0 && params.length > 0)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Address, TransactionRequest } from '@aboutcircles/sdk-types';
|
|
2
|
-
import type { ContractRunner, BatchRun } from './runner';
|
|
2
|
+
import type { ContractRunner, BatchRun } from './runner.js';
|
|
3
3
|
import type { PublicClient, TransactionReceipt, Chain } from 'viem';
|
|
4
4
|
import type { EIP1193Provider } from 'viem';
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"safe-browser-runner.d.ts","sourceRoot":"","sources":["../src/safe-browser-runner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAO,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"safe-browser-runner.d.ts","sourceRoot":"","sources":["../src/safe-browser-runner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAO,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAY5C;;;;;;GAMG;AACH,qBAAa,iBAAkB,YAAW,cAAc;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,YAAY,CAAC;IAElC,OAAO,CAAC,eAAe,CAAkB;IACzC,OAAO,CAAC,WAAW,CAAC,CAAU;IAC9B,OAAO,CAAC,IAAI,CAAC,CAAM;IAEnB;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;gBAED,YAAY,EAAE,YAAY,EAC1B,eAAe,EAAE,eAAe,EAChC,WAAW,CAAC,EAAE,OAAO;IAOvB;;;;;;;;;;;;;;;;;;;;OAoBG;WACU,MAAM,CACjB,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,OAAO,EACpB,KAAK,EAAE,KAAK,GACX,OAAO,CAAC,iBAAiB,CAAC;IAW7B;;;;OAIG;IACG,IAAI,CAAC,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAsBhD;;;OAGG;IACH,OAAO,CAAC,UAAU;IAOlB;;OAEG;IACH,WAAW,GAAU,IAAI,kBAAkB,KAAG,OAAO,CAAC,MAAM,CAAC,CAW3D;IAEF;;OAEG;IACH,IAAI,GAAU,IAAI,kBAAkB,KAAG,OAAO,CAAC,MAAM,CAAC,CAapD;IAEF;;OAEG;IACH,WAAW,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAUxD;IAEF;;;;;;;OAOG;IACH,eAAe,GAAU,KAAK,kBAAkB,EAAE,KAAG,OAAO,CAAC,kBAAkB,CAAC,CA0C9E;IAEF;;;OAGG;IACH,oBAAoB,QAAO,mBAAmB,CAG5C;CACH;AAED;;;GAGG;AACH,qBAAa,mBAAoB,YAAW,QAAQ;IAIhD,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAJ/B,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA4B;gBAGtC,IAAI,EAAE,GAAG,EACT,YAAY,EAAE,YAAY;IAG7C;;OAEG;IACH,cAAc,CAAC,EAAE,EAAE,kBAAkB;IAIrC;;OAEG;IACG,kBAAkB;IAexB;;;;;OAKG;IACG,GAAG,IAAI,OAAO,CAAC,kBAAkB,CAAC;CA0BzC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createPublicClient, http } from 'viem';
|
|
2
2
|
import { OperationType } from '@safe-global/safe-core-sdk-types';
|
|
3
|
-
import { RunnerError } from './errors';
|
|
3
|
+
import { RunnerError } from './errors.js';
|
|
4
4
|
// Use require for Safe to ensure compatibility with bun's CJS/ESM interop
|
|
5
5
|
// Safe Protocol Kit v5 uses CommonJS exports, so we use require() for proper interop
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
package/dist/safe-runner.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Address, Hex, TransactionRequest } from '@aboutcircles/sdk-types';
|
|
2
|
-
import type { ContractRunner, BatchRun } from './runner';
|
|
2
|
+
import type { ContractRunner, BatchRun } from './runner.js';
|
|
3
3
|
import type { PublicClient, TransactionReceipt, Chain } from 'viem';
|
|
4
4
|
/**
|
|
5
5
|
* Batch transaction runner for Safe
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"safe-runner.d.ts","sourceRoot":"","sources":["../src/safe-runner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"safe-runner.d.ts","sourceRoot":"","sources":["../src/safe-runner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAYpE;;;GAGG;AACH,qBAAa,YAAa,YAAW,QAAQ;IAIzC,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAJ/B,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA4B;gBAGtC,IAAI,EAAE,GAAG,EACT,YAAY,EAAE,YAAY;IAG7C;;OAEG;IACH,cAAc,CAAC,EAAE,EAAE,kBAAkB;IAIrC;;OAEG;IACG,kBAAkB;IAexB;;;OAGG;IACG,GAAG,IAAI,OAAO,CAAC,kBAAkB,CAAC;CA0BzC;AAED;;;GAGG;AACH,qBAAa,kBAAmB,YAAW,cAAc;IAChD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,YAAY,CAAC;IAElC,OAAO,CAAC,UAAU,CAAM;IACxB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,WAAW,CAAC,CAAU;IAC9B,OAAO,CAAC,IAAI,CAAC,CAAM;IAEnB;;;;;;OAMG;gBAGD,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,GAAG,EACf,MAAM,EAAE,MAAM,EACd,WAAW,CAAC,EAAE,OAAO;IAQvB;;;;;;;;;;;;;;;;;;;;OAoBG;WACU,MAAM,CACjB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,GAAG,EACf,WAAW,EAAE,OAAO,EACpB,KAAK,EAAE,KAAK,GACX,OAAO,CAAC,kBAAkB,CAAC;IAW9B;;;OAGG;IACG,IAAI,CAAC,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAmBhD;;OAEG;IACH,OAAO,CAAC,UAAU;IAOlB;;OAEG;IACH,WAAW,GAAU,IAAI,kBAAkB,KAAG,OAAO,CAAC,MAAM,CAAC,CAW3D;IAEF;;OAEG;IACH,IAAI,GAAU,IAAI,kBAAkB,KAAG,OAAO,CAAC,MAAM,CAAC,CAapD;IAEF;;OAEG;IACH,WAAW,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAUxD;IAEF;;;;;OAKG;IACH,eAAe,GAAU,KAAK,kBAAkB,EAAE,KAAG,OAAO,CAAC,kBAAkB,CAAC,CA0C9E;IAEF;;;OAGG;IACH,oBAAoB,QAAO,YAAY,CAGrC;CACH"}
|
package/dist/safe-runner.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createPublicClient, http } from 'viem';
|
|
2
2
|
import { OperationType } from '@safe-global/safe-core-sdk-types';
|
|
3
|
-
import { RunnerError } from './errors';
|
|
3
|
+
import { RunnerError } from './errors.js';
|
|
4
4
|
// Use require for Safe to ensure compatibility with bun's CJS/ESM interop
|
|
5
5
|
// Safe Protocol Kit v5 uses CommonJS exports, so we use require() for proper interop
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|