@safe-global/relay-kit 2.0.2 → 2.1.0-alpha.0

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.
Files changed (36) hide show
  1. package/dist/src/RelayKitBasePack.d.ts +51 -20
  2. package/dist/src/RelayKitBasePack.js +13 -2
  3. package/dist/src/RelayKitBasePack.js.map +1 -1
  4. package/dist/src/index.d.ts +3 -1
  5. package/dist/src/index.js +3 -1
  6. package/dist/src/index.js.map +1 -1
  7. package/dist/src/packs/gelato/GelatoRelayPack.d.ts +46 -9
  8. package/dist/src/packs/gelato/GelatoRelayPack.js +49 -10
  9. package/dist/src/packs/gelato/GelatoRelayPack.js.map +1 -1
  10. package/dist/src/packs/gelato/GelatoRelayPack.test.js +26 -20
  11. package/dist/src/packs/gelato/GelatoRelayPack.test.js.map +1 -1
  12. package/dist/src/packs/gelato/types.d.ts +18 -0
  13. package/dist/src/packs/safe-4337/Safe4337Pack.d.ts +106 -0
  14. package/dist/src/packs/safe-4337/Safe4337Pack.js +501 -0
  15. package/dist/src/packs/safe-4337/Safe4337Pack.js.map +1 -0
  16. package/dist/src/packs/safe-4337/SafeOperation.d.ts +18 -0
  17. package/dist/src/packs/safe-4337/SafeOperation.js +62 -0
  18. package/dist/src/packs/safe-4337/SafeOperation.js.map +1 -0
  19. package/dist/src/packs/safe-4337/constants.d.ts +17 -0
  20. package/dist/src/packs/safe-4337/constants.js +37 -0
  21. package/dist/src/packs/safe-4337/constants.js.map +1 -0
  22. package/dist/src/packs/safe-4337/estimators/PimlicoFeeEstimator.d.ts +7 -0
  23. package/dist/src/packs/safe-4337/estimators/PimlicoFeeEstimator.js +46 -0
  24. package/dist/src/packs/safe-4337/estimators/PimlicoFeeEstimator.js.map +1 -0
  25. package/dist/src/packs/safe-4337/estimators/index.d.ts +2 -0
  26. package/dist/src/packs/safe-4337/estimators/index.js +6 -0
  27. package/dist/src/packs/safe-4337/estimators/index.js.map +1 -0
  28. package/dist/src/packs/safe-4337/types.d.ts +158 -0
  29. package/dist/src/{types.js.map → packs/safe-4337/types.js.map} +1 -1
  30. package/dist/src/packs/safe-4337/utils.d.ts +35 -0
  31. package/dist/src/packs/safe-4337/utils.js +50 -0
  32. package/dist/src/packs/safe-4337/utils.js.map +1 -0
  33. package/dist/tsconfig.build.tsbuildinfo +1 -1
  34. package/package.json +5 -3
  35. package/dist/src/types.d.ts +0 -9
  36. /package/dist/src/{types.js → packs/safe-4337/types.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@safe-global/relay-kit",
3
- "version": "2.0.2",
3
+ "version": "2.1.0-alpha.0",
4
4
  "description": "Safe Relay Kit",
5
5
  "main": "dist/src/index.js",
6
6
  "typings": "dist/src/index.d.ts",
@@ -36,7 +36,9 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@gelatonetwork/relay-sdk": "^5.5.0",
39
- "@safe-global/protocol-kit": "^3.0.1",
40
- "@safe-global/safe-core-sdk-types": "^4.0.1"
39
+ "@safe-global/protocol-kit": "^3.1.0-alpha.0",
40
+ "@safe-global/safe-core-sdk-types": "^4.0.1",
41
+ "@safe-global/safe-modules-deployments": "^2.0.0",
42
+ "ethers": "^6.7.1"
41
43
  }
42
44
  }
@@ -1,9 +0,0 @@
1
- import { MetaTransactionData, MetaTransactionOptions } from '@safe-global/safe-core-sdk-types';
2
- export interface RelayKitTransaction {
3
- /** transactions - The transaction array to process */
4
- transactions: MetaTransactionData[];
5
- /** options - The transaction array optional properties */
6
- options?: MetaTransactionOptions;
7
- /** onlyCalls - Forces the execution of the transaction array with MultiSendCallOnly contract */
8
- onlyCalls?: boolean;
9
- }
File without changes