otomato-sdk 1.5.53 → 1.5.55

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.
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import rpcServices from "../services/RpcServices";
10
+ import { rpcServices } from "../services/RpcServices.js";
11
11
  export const TOKENS = {
12
12
  1: [
13
13
  {
package/dist/src/index.js CHANGED
@@ -15,5 +15,6 @@ export * from './models/SessionKeyPermission.js';
15
15
  export * from './models/Authorization.js';
16
16
  // Exporting services
17
17
  export * from './services/ApiService.js';
18
+ export * from './services/RpcServices.js';
18
19
  export * from './utils/helpers.js';
19
20
  export * from './utils/typeValidator.js';
@@ -69,5 +69,4 @@ class RPCServices {
69
69
  }
70
70
  }
71
71
  // Export RPC services instance
72
- const rpcServices = new RPCServices();
73
- export default rpcServices;
72
+ export const rpcServices = new RPCServices();
@@ -0,0 +1 @@
1
+ export {};
@@ -12,5 +12,6 @@ export * from './models/Edge.js';
12
12
  export * from './models/SessionKeyPermission.js';
13
13
  export * from './models/Authorization.js';
14
14
  export * from './services/ApiService.js';
15
+ export * from './services/RpcServices.js';
15
16
  export * from './utils/helpers.js';
16
17
  export * from './utils/typeValidator.js';
@@ -10,5 +10,5 @@ declare class RPCServices {
10
10
  getRPC(chainId: number): string;
11
11
  getTokenDetails(chainId: number, contractAddress: string): Promise<Token>;
12
12
  }
13
- declare const rpcServices: RPCServices;
14
- export default rpcServices;
13
+ export declare const rpcServices: RPCServices;
14
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otomato-sdk",
3
- "version": "1.5.53",
3
+ "version": "1.5.55",
4
4
  "description": "An SDK for building and managing automations on Otomato",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/types/src/index.d.ts",