@getpara/server-sdk 2.15.0 → 2.16.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.
package/dist/cjs/index.js CHANGED
@@ -19,14 +19,23 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
19
19
  var src_exports = {};
20
20
  __export(src_exports, {
21
21
  Para: () => import_ParaServer.Para,
22
- default: () => src_default
22
+ SMART_ACCOUNT_PROVIDERS: () => import_viem_v2_integration.SMART_ACCOUNT_PROVIDERS,
23
+ SmartAccountError: () => import_viem_v2_integration.SmartAccountError,
24
+ default: () => src_default,
25
+ isSmartAccount4337: () => import_viem_v2_integration.isSmartAccount4337,
26
+ isSmartAccount7702: () => import_viem_v2_integration.isSmartAccount7702
23
27
  });
24
28
  module.exports = __toCommonJS(src_exports);
25
29
  __reExport(src_exports, require("@getpara/core-sdk"), module.exports);
26
30
  var import_ParaServer = require("./ParaServer.js");
31
+ var import_viem_v2_integration = require("@getpara/viem-v2-integration");
27
32
  var src_default = import_ParaServer.Para;
28
33
  // Annotate the CommonJS export names for ESM import in node:
29
34
  0 && (module.exports = {
30
35
  Para,
36
+ SMART_ACCOUNT_PROVIDERS,
37
+ SmartAccountError,
38
+ isSmartAccount4337,
39
+ isSmartAccount7702,
31
40
  ...require("@getpara/core-sdk")
32
41
  });
package/dist/esm/index.js CHANGED
@@ -2,7 +2,17 @@ import "./chunk-FTA5RKYX.js";
2
2
  export * from "@getpara/core-sdk";
3
3
  import { Para as ParaServer } from "./ParaServer.js";
4
4
  var src_default = ParaServer;
5
+ import {
6
+ SmartAccountError,
7
+ isSmartAccount4337,
8
+ isSmartAccount7702,
9
+ SMART_ACCOUNT_PROVIDERS
10
+ } from "@getpara/viem-v2-integration";
5
11
  export {
6
12
  ParaServer as Para,
7
- src_default as default
13
+ SMART_ACCOUNT_PROVIDERS,
14
+ SmartAccountError,
15
+ src_default as default,
16
+ isSmartAccount4337,
17
+ isSmartAccount7702
8
18
  };
@@ -3,3 +3,5 @@ export type { PlatformUtils, StorageUtils } from '@getpara/core-sdk';
3
3
  import { Para as ParaServer } from './ParaServer.js';
4
4
  export { ParaServer as Para };
5
5
  export default ParaServer;
6
+ export type { SmartAccount, SmartAccount4337, SmartAccount7702, SmartAccountMode, SmartAccountForMode, SmartAccountProvider, TransactionParams, BaseSmartAccountConfig, ChainBasedSmartAccountConfig, ApiKeySmartAccountConfig, PaymasterSmartAccountConfig, CreateSmartAccountParams, SmartAccountModeParam, } from '@getpara/viem-v2-integration';
7
+ export { SmartAccountError, isSmartAccount4337, isSmartAccount7702, SMART_ACCOUNT_PROVIDERS, } from '@getpara/viem-v2-integration';
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@getpara/server-sdk",
3
- "version": "2.15.0",
3
+ "version": "2.16.0",
4
4
  "dependencies": {
5
- "@getpara/core-sdk": "2.15.0",
6
- "@getpara/user-management-client": "2.15.0",
5
+ "@getpara/core-sdk": "2.16.0",
6
+ "@getpara/user-management-client": "2.16.0",
7
+ "@getpara/viem-v2-integration": "2.16.0",
7
8
  "uuid": "^11.1.0",
8
9
  "ws": "^8.14.2"
9
10
  },
@@ -15,7 +16,7 @@
15
16
  "dist",
16
17
  "package.json"
17
18
  ],
18
- "gitHead": "9cecc178e975a44d8ed4b03f46aeb57ddcb7a152",
19
+ "gitHead": "fbe96a062b308d04105213378c12c38ee973c798",
19
20
  "main": "dist/cjs/index.js",
20
21
  "module": "dist/esm/index.js",
21
22
  "scripts": {