flash-sdk 1.0.22 → 1.0.24

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 (49) hide show
  1. package/{lib → dist}/PerpetualsClient.d.ts +2 -0
  2. package/{lib → dist}/constants/index.js +3 -3
  3. package/dist/tsconfig.tsbuildinfo +1 -0
  4. package/package.json +10 -4
  5. package/lib/tsconfig.tsbuildinfo +0 -1
  6. package/src/CustodyAccount.ts +0 -125
  7. package/src/OraclePrice.ts +0 -111
  8. package/src/PerpetualsClient.ts +0 -2112
  9. package/src/PoolAccount.ts +0 -491
  10. package/src/PoolConfig.json +0 -322
  11. package/src/PoolConfig.ts +0 -182
  12. package/src/PoolDataClient.ts +0 -173
  13. package/src/PositionAccount.ts +0 -58
  14. package/src/Token.ts +0 -1
  15. package/src/constants/index.ts +0 -21
  16. package/src/idl/perpetuals.ts +0 -7561
  17. package/src/index.ts +0 -19
  18. package/src/type-rules.md +0 -4
  19. package/src/types/index.ts +0 -290
  20. package/src/utils/index.ts +0 -234
  21. package/src/utils/rpc.ts +0 -162
  22. package/tsconfig.json +0 -23
  23. /package/{lib → dist}/CustodyAccount.d.ts +0 -0
  24. /package/{lib → dist}/CustodyAccount.js +0 -0
  25. /package/{lib → dist}/OraclePrice.d.ts +0 -0
  26. /package/{lib → dist}/OraclePrice.js +0 -0
  27. /package/{lib → dist}/PerpetualsClient.js +0 -0
  28. /package/{lib → dist}/PoolAccount.d.ts +0 -0
  29. /package/{lib → dist}/PoolAccount.js +0 -0
  30. /package/{lib → dist}/PoolConfig.d.ts +0 -0
  31. /package/{lib → dist}/PoolConfig.js +0 -0
  32. /package/{lib → dist}/PoolConfig.json +0 -0
  33. /package/{lib → dist}/PoolDataClient.d.ts +0 -0
  34. /package/{lib → dist}/PoolDataClient.js +0 -0
  35. /package/{lib → dist}/PositionAccount.d.ts +0 -0
  36. /package/{lib → dist}/PositionAccount.js +0 -0
  37. /package/{lib → dist}/Token.d.ts +0 -0
  38. /package/{lib → dist}/Token.js +0 -0
  39. /package/{lib → dist}/constants/index.d.ts +0 -0
  40. /package/{lib → dist}/idl/perpetuals.d.ts +0 -0
  41. /package/{lib → dist}/idl/perpetuals.js +0 -0
  42. /package/{lib → dist}/index.d.ts +0 -0
  43. /package/{lib → dist}/index.js +0 -0
  44. /package/{lib → dist}/types/index.d.ts +0 -0
  45. /package/{lib → dist}/types/index.js +0 -0
  46. /package/{lib → dist}/utils/index.d.ts +0 -0
  47. /package/{lib → dist}/utils/index.js +0 -0
  48. /package/{lib → dist}/utils/rpc.d.ts +0 -0
  49. /package/{lib → dist}/utils/rpc.js +0 -0
package/tsconfig.json DELETED
@@ -1,23 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "incremental": true, /* Enable incremental compilation */
4
- "target": "es5", /* Specify ECMAScript target version: */
5
- // "lib": ["es2019"],
6
- "module": "commonjs", /* 'none', 'commonjs', 'amd', 'system', etc */
7
- "declaration": true, /* Concatenate & emit output to single file.*/
8
- "outDir": "lib", /* Redirect output to the directory. */
9
- "esModuleInterop": true, /* Enables intero between CommonJS and ES */
10
- "skipLibCheck": true, /* Skip type checking of declaration files. */
11
- "forceConsistentCasingInFileNames": true, /* Disallow inconsistently */
12
- "allowJs": true,
13
- "checkJs": true,
14
-
15
- // "declarationMap": true,
16
- // "noImplicitAny": false,
17
- "resolveJsonModule": true,
18
- // "sourceMap": true,
19
-
20
- },
21
- "include": ["./src/**/*"],
22
- "exclude": ["./src/**/*.test.js", "node_modules", "**/node_modules"]
23
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes