@bitgo-beta/sdk-coin-xlm 2.0.5-beta.21 → 2.0.5-beta.2100

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 (41) hide show
  1. package/dist/src/getStellarKeys.d.ts +2 -2
  2. package/dist/src/getStellarKeys.d.ts.map +1 -1
  3. package/dist/src/getStellarKeys.js +68 -29
  4. package/dist/src/index.d.ts +1 -0
  5. package/dist/src/index.d.ts.map +1 -1
  6. package/dist/src/index.js +7 -2
  7. package/dist/src/lib/index.d.ts +4 -0
  8. package/dist/src/lib/index.d.ts.map +1 -0
  9. package/dist/src/lib/index.js +41 -0
  10. package/dist/src/lib/keyPair.d.ts +17 -0
  11. package/dist/src/lib/keyPair.d.ts.map +1 -0
  12. package/dist/src/lib/keyPair.js +91 -0
  13. package/dist/src/lib/utils.d.ts +100 -0
  14. package/dist/src/lib/utils.d.ts.map +1 -0
  15. package/dist/src/lib/utils.js +198 -0
  16. package/dist/src/stellarToken.d.ts +1 -1
  17. package/dist/src/stellarToken.d.ts.map +1 -1
  18. package/dist/src/stellarToken.js +25 -11
  19. package/dist/src/xlm.d.ts +76 -26
  20. package/dist/src/xlm.d.ts.map +1 -1
  21. package/dist/src/xlm.js +460 -85
  22. package/dist/test/unit/fixtures/blindSigning.d.ts +857 -0
  23. package/dist/test/unit/fixtures/blindSigning.d.ts.map +1 -0
  24. package/dist/test/unit/fixtures/blindSigning.js +698 -0
  25. package/dist/test/unit/fixtures/xlmBackupKey.d.ts +4 -0
  26. package/dist/test/unit/fixtures/xlmBackupKey.d.ts.map +1 -0
  27. package/dist/test/unit/fixtures/xlmBackupKey.js +10 -0
  28. package/dist/test/unit/keyPair.d.ts +2 -0
  29. package/dist/test/unit/keyPair.d.ts.map +1 -0
  30. package/dist/test/unit/keyPair.js +96 -0
  31. package/dist/test/unit/utils.d.ts +2 -0
  32. package/dist/test/unit/utils.d.ts.map +1 -0
  33. package/dist/test/unit/utils.js +165 -0
  34. package/dist/test/unit/xlm.d.ts +2 -0
  35. package/dist/test/unit/xlm.d.ts.map +1 -0
  36. package/dist/test/unit/xlm.js +1570 -0
  37. package/dist/tsconfig.tsbuildinfo +1 -0
  38. package/package.json +14 -12
  39. package/.eslintignore +0 -5
  40. package/.mocharc.yml +0 -8
  41. package/CHANGELOG.md +0 -102
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@bitgo-beta/sdk-coin-xlm",
3
- "version": "2.0.5-beta.21",
3
+ "version": "2.0.5-beta.2100",
4
4
  "description": "BitGo SDK coin library for Xlm",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "scripts": {
8
8
  "build": "yarn tsc --build --incremental --verbose .",
9
9
  "fmt": "prettier --write .",
10
- "check-fmt": "prettier --check .",
10
+ "check-fmt": "prettier --check '**/*.{ts,js,json}'",
11
11
  "clean": "rm -r ./dist",
12
12
  "lint": "eslint --quiet .",
13
13
  "prepare": "npm run build",
@@ -18,7 +18,7 @@
18
18
  "author": "BitGo SDK Team <sdkteam@bitgo.com>",
19
19
  "license": "MIT",
20
20
  "engines": {
21
- "node": ">=14 <17"
21
+ "node": ">=22"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
@@ -40,17 +40,19 @@
40
40
  ]
41
41
  },
42
42
  "dependencies": {
43
- "@bitgo-beta/sdk-core": "8.2.1-beta.21",
44
- "@bitgo-beta/statics": "15.1.1-beta.22",
45
- "@bitgo-beta/utxo-lib": "8.0.3-beta.21",
46
- "bignumber.js": "^8.0.1",
47
- "lodash": "^4.17.14",
43
+ "@bitgo-beta/sdk-core": "8.2.1-beta.2123",
44
+ "@bitgo-beta/statics": "15.1.1-beta.2155",
45
+ "bignumber.js": "^9.1.1",
46
+ "lodash": "^4.18.0",
48
47
  "stellar-sdk": "^10.0.1",
49
- "superagent": "^3.8.3"
48
+ "superagent": "^9.0.1"
50
49
  },
51
50
  "devDependencies": {
52
- "@bitgo-beta/sdk-api": "1.10.1-beta.21",
53
- "@bitgo-beta/sdk-test": "^1.2.18"
51
+ "@bitgo-beta/sdk-api": "1.10.1-beta.2112",
52
+ "@bitgo-beta/sdk-test": "^9.1.86"
54
53
  },
55
- "gitHead": "35352d111f4f6f3e7c7f8afaafb1d4d9cfcb2d03"
54
+ "gitHead": "1295049afb2655b7aaf88cb5e56a804c7386a353",
55
+ "files": [
56
+ "dist"
57
+ ]
56
58
  }
package/.eslintignore DELETED
@@ -1,5 +0,0 @@
1
- node_modules
2
- .idea
3
- public
4
- dist
5
-
package/.mocharc.yml DELETED
@@ -1,8 +0,0 @@
1
- require: 'ts-node/register'
2
- timeout: '60000'
3
- reporter: 'min'
4
- reporter-option:
5
- - 'cdn=true'
6
- - 'json=false'
7
- exit: true
8
- spec: ['test/unit/**/*.ts']
package/CHANGELOG.md DELETED
@@ -1,102 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [2.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@2.0.3...@bitgo/sdk-coin-xlm@2.0.4) (2023-04-25)
7
-
8
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
9
-
10
- ## [2.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@2.0.2...@bitgo/sdk-coin-xlm@2.0.3) (2023-04-20)
11
-
12
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
13
-
14
- ## [2.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@2.0.1...@bitgo/sdk-coin-xlm@2.0.2) (2023-04-13)
15
-
16
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
17
-
18
- ## [2.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@2.0.0...@bitgo/sdk-coin-xlm@2.0.1) (2023-02-17)
19
-
20
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
21
-
22
- # [2.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.11...@bitgo/sdk-coin-xlm@2.0.0) (2023-02-16)
23
-
24
- ### Bug Fixes
25
-
26
- - **sdk-core:** mark pub as optional in Keychain interface ([7d6012c](https://github.com/BitGo/BitGoJS/commit/7d6012cf1058e43d96e129dc2b1607b5316dca1c))
27
-
28
- ### BREAKING CHANGES
29
-
30
- - **sdk-core:** Keychain.pub is now optional
31
-
32
- ## [1.2.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.11...@bitgo/sdk-coin-xlm@1.2.13) (2023-02-08)
33
-
34
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
35
-
36
- ## [1.2.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.11...@bitgo/sdk-coin-xlm@1.2.12) (2023-01-30)
37
-
38
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
39
-
40
- ## [1.2.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.10...@bitgo/sdk-coin-xlm@1.2.11) (2023-01-25)
41
-
42
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
43
-
44
- ## [1.2.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.9...@bitgo/sdk-coin-xlm@1.2.10) (2022-12-23)
45
-
46
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
47
-
48
- ## [1.2.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.8...@bitgo/sdk-coin-xlm@1.2.9) (2022-12-20)
49
-
50
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
51
-
52
- ## [1.2.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.7...@bitgo/sdk-coin-xlm@1.2.8) (2022-12-09)
53
-
54
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
55
-
56
- ## [1.2.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.6...@bitgo/sdk-coin-xlm@1.2.7) (2022-12-06)
57
-
58
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
59
-
60
- ## [1.2.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.5...@bitgo/sdk-coin-xlm@1.2.6) (2022-12-01)
61
-
62
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
63
-
64
- ## [1.2.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.0...@bitgo/sdk-coin-xlm@1.2.5) (2022-11-29)
65
-
66
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
67
-
68
- ## [1.2.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.0...@bitgo/sdk-coin-xlm@1.2.4) (2022-11-04)
69
-
70
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
71
-
72
- ## [1.2.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.0...@bitgo/sdk-coin-xlm@1.2.2) (2022-10-27)
73
-
74
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
75
-
76
- ## [1.2.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.2.0...@bitgo/sdk-coin-xlm@1.2.1) (2022-10-25)
77
-
78
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
79
-
80
- # [1.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.0.1-rc.3...@bitgo/sdk-coin-xlm@1.2.0) (2022-10-18)
81
-
82
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
83
-
84
- ## [1.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.0.1-rc.3...@bitgo/sdk-coin-xlm@1.0.1) (2022-07-19)
85
-
86
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
87
-
88
- ## [1.0.1-rc.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.0.1-rc.1...@bitgo/sdk-coin-xlm@1.0.1-rc.3) (2022-07-19)
89
-
90
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
91
-
92
- ## [1.0.1-rc.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.0.1-rc.1...@bitgo/sdk-coin-xlm@1.0.1-rc.2) (2022-07-18)
93
-
94
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
95
-
96
- ## [1.0.1-rc.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-xlm@1.0.1-rc.0...@bitgo/sdk-coin-xlm@1.0.1-rc.1) (2022-07-15)
97
-
98
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm
99
-
100
- ## 1.0.1-rc.0 (2022-07-15)
101
-
102
- **Note:** Version bump only for package @bitgo/sdk-coin-xlm