@cityofzion/bs-neo3 0.9.3 → 0.11.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 (44) hide show
  1. package/dist/BSNeo3.d.ts +8 -4
  2. package/dist/BSNeo3.js +38 -13
  3. package/dist/DoraBDSNeo3.d.ts +0 -1
  4. package/dist/DoraBDSNeo3.js +11 -12
  5. package/dist/DoraESNeo3.d.ts +1 -1
  6. package/dist/DoraESNeo3.js +19 -5
  7. package/dist/FlamingoEDSNeo3.d.ts +1 -2
  8. package/dist/FlamingoEDSNeo3.js +20 -5
  9. package/dist/GhostMarketNDSNeo3.d.ts +1 -1
  10. package/dist/GhostMarketNDSNeo3.js +17 -3
  11. package/dist/LedgerServiceNeo3.d.ts +14 -0
  12. package/dist/LedgerServiceNeo3.js +96 -0
  13. package/dist/RpcBDSNeo3.d.ts +4 -4
  14. package/dist/RpcBDSNeo3.js +23 -19
  15. package/package.json +12 -9
  16. package/.eslintignore +0 -13
  17. package/.eslintrc.cjs +0 -22
  18. package/.rush/temp/operation/build/all.log +0 -1
  19. package/.rush/temp/operation/build/state.json +0 -3
  20. package/.rush/temp/package-deps_build.json +0 -31
  21. package/.rush/temp/shrinkwrap-deps.json +0 -439
  22. package/CHANGELOG.json +0 -66
  23. package/CHANGELOG.md +0 -33
  24. package/bs-neo3.build.log +0 -1
  25. package/jest.config.ts +0 -13
  26. package/jest.setup.ts +0 -1
  27. package/src/BSNeo3.ts +0 -232
  28. package/src/DoraBDSNeo3.ts +0 -188
  29. package/src/DoraESNeo3.ts +0 -19
  30. package/src/FlamingoEDSNeo3.ts +0 -41
  31. package/src/GhostMarketNDSNeo3.ts +0 -121
  32. package/src/RpcBDSNeo3.ts +0 -159
  33. package/src/__tests__/BDSNeo3.spec.ts +0 -124
  34. package/src/__tests__/BSNeo3.spec.ts +0 -149
  35. package/src/__tests__/DoraESNeo3.spec.ts +0 -23
  36. package/src/__tests__/FlamingoEDSNeo3.spec.ts +0 -48
  37. package/src/__tests__/GhostMarketNDSNeo3.spec.ts +0 -48
  38. package/src/__tests__/utils/sleep.ts +0 -1
  39. package/src/assets/tokens/common.json +0 -14
  40. package/src/assets/tokens/mainnet.json +0 -116
  41. package/src/constants.ts +0 -29
  42. package/src/index.ts +0 -6
  43. package/tsconfig.build.json +0 -4
  44. package/tsconfig.json +0 -14
package/src/constants.ts DELETED
@@ -1,29 +0,0 @@
1
- import { NetworkType, Token } from '@cityofzion/blockchain-service'
2
- import commom from './assets/tokens/common.json'
3
- import mainnet from './assets/tokens/mainnet.json'
4
-
5
- export const TOKENS: Record<NetworkType, Token[]> = {
6
- mainnet: [...commom, ...mainnet],
7
- testnet: commom,
8
- custom: commom,
9
- }
10
-
11
- export const NEO_NS_HASH = '0x50ac1c37690cc2cfc594472833cf57505d5f46de'
12
-
13
- export const DEFAULT_URL_BY_NETWORK_TYPE: Record<NetworkType, string> = {
14
- mainnet: 'https://mainnet1.neo.coz.io:443',
15
- testnet: 'https://testnet1.neo.coz.io:443',
16
- custom: 'http://127.0.0.1:50012',
17
- }
18
-
19
- export const GHOSTMARKET_URL_BY_NETWORK_TYPE: Partial<Record<NetworkType, string>> = {
20
- mainnet: 'https://api.ghostmarket.io/api/v2',
21
- testnet: 'https://api-testnet.ghostmarket.io/api/v2',
22
- }
23
-
24
- export const GHOSTMARKET_CHAIN_BY_NETWORK_TYPE: Partial<Record<NetworkType, string>> = {
25
- mainnet: 'n3',
26
- testnet: 'n3t',
27
- }
28
-
29
- export const DERIVATION_PATH = "m/44'/888'/0'/0/?"
package/src/index.ts DELETED
@@ -1,6 +0,0 @@
1
- export * from './DoraBDSNeo3'
2
- export * from './RpcBDSNeo3'
3
- export * from './BSNeo3'
4
- export * from './constants'
5
- export * from './FlamingoEDSNeo3'
6
- export * from './GhostMarketNDSNeo3'
@@ -1,4 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "exclude": ["src/__tests__"]
4
- }
package/tsconfig.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": {
4
- "lib": ["ESNext"],
5
- "outDir": "./dist"
6
- },
7
- "include": ["src"],
8
- "exclude": ["node_modules"],
9
- "typedocOptions": {
10
- "entryPoints": ["./src/index.ts"],
11
- "out": "docs",
12
- "exclude": "**/node_modules/**"
13
- }
14
- }