@pezkuwi/hw-ledger 14.0.10 → 14.0.12

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/Ledger.d.ts +43 -0
  2. package/Ledger.js +112 -0
  3. package/LedgerGeneric.d.ts +63 -0
  4. package/LedgerGeneric.js +211 -0
  5. package/build/bundle-pezkuwi-hw-ledger.js +145 -166
  6. package/build/cjs/packageInfo.js +1 -1
  7. package/build/package.json +6 -6
  8. package/build/packageInfo.js +1 -1
  9. package/build-deno/packageInfo.ts +1 -1
  10. package/build-tsc-cjs/packageInfo.js +1 -1
  11. package/build-tsc-esm/packageInfo.js +1 -1
  12. package/bundle-pezkuwi-hw-ledger.js +9473 -0
  13. package/bundle.d.ts +2 -0
  14. package/bundle.js +2 -0
  15. package/cjs/Ledger.d.ts +43 -0
  16. package/cjs/Ledger.js +117 -0
  17. package/cjs/LedgerGeneric.d.ts +63 -0
  18. package/cjs/LedgerGeneric.js +216 -0
  19. package/cjs/bundle.d.ts +2 -0
  20. package/cjs/bundle.js +7 -0
  21. package/cjs/constants.d.ts +4 -0
  22. package/cjs/constants.js +7 -0
  23. package/cjs/defaults.d.ts +14 -0
  24. package/cjs/defaults.js +61 -0
  25. package/cjs/index.d.ts +2 -0
  26. package/cjs/index.js +5 -0
  27. package/cjs/package.json +3 -0
  28. package/cjs/packageDetect.d.ts +1 -0
  29. package/cjs/packageDetect.js +7 -0
  30. package/cjs/packageInfo.d.ts +6 -0
  31. package/cjs/packageInfo.js +4 -0
  32. package/cjs/types.d.ts +34 -0
  33. package/cjs/types.js +2 -0
  34. package/constants.d.ts +4 -0
  35. package/constants.js +4 -0
  36. package/defaults.d.ts +14 -0
  37. package/defaults.js +58 -0
  38. package/index.d.ts +2 -0
  39. package/index.js +2 -0
  40. package/package.json +157 -7
  41. package/packageDetect.d.ts +1 -0
  42. package/packageDetect.js +5 -0
  43. package/packageInfo.d.ts +6 -0
  44. package/packageInfo.js +1 -0
  45. package/src/packageInfo.ts +1 -1
  46. package/tsconfig.build.tsbuildinfo +1 -1
  47. package/tsconfig.spec.tsbuildinfo +1 -1
  48. package/types.d.ts +34 -0
  49. package/types.js +1 -0
package/defaults.js ADDED
@@ -0,0 +1,58 @@
1
+ export const prevLedgerRecord = {
2
+ acala: 'Acala',
3
+ ajuna: 'Ajuna',
4
+ 'aleph-node': 'AlephZero',
5
+ astar: 'Astar',
6
+ bifrost: 'Bifrost',
7
+ 'bifrost-kusama': 'BifrostKusama',
8
+ centrifuge: 'Centrifuge',
9
+ composable: 'Composable',
10
+ darwinia: 'Darwinia',
11
+ 'dock-mainnet': 'Dock',
12
+ edgeware: 'Edgeware',
13
+ enjin: 'Enjin',
14
+ equilibrium: 'Equilibrium',
15
+ genshiro: 'Genshiro',
16
+ hydradx: 'HydraDX',
17
+ 'interlay-parachain': 'Interlay',
18
+ karura: 'Karura',
19
+ khala: 'Khala',
20
+ kusama: 'Kusama',
21
+ matrixchain: 'Matrixchain',
22
+ nodle: 'Nodle',
23
+ origintrail: 'OriginTrail',
24
+ parallel: 'Parallel',
25
+ peaq: 'Peaq',
26
+ pendulum: 'Pendulum',
27
+ phala: 'Phala',
28
+ picasso: 'Picasso',
29
+ polkadex: 'Polkadex',
30
+ polkadot: 'Polkadot',
31
+ polymesh: 'Polymesh',
32
+ quartz: 'Quartz',
33
+ sora: 'Sora',
34
+ stafi: 'Stafi',
35
+ statemine: 'Statemine',
36
+ statemint: 'Statemint',
37
+ ternoa: 'Ternoa',
38
+ unique: 'Unique',
39
+ vtb: 'VTB',
40
+ xxnetwork: 'XXNetwork',
41
+ zeitgeist: 'Zeitgeist'
42
+ };
43
+ export const genericLedgerApps = {
44
+ bittensor: 'Bittensor',
45
+ creditcoin3: 'Creditcoin3',
46
+ dentnet: 'DENTNet',
47
+ encointer: 'Encointer',
48
+ frequency: 'Frequency',
49
+ integritee: 'Integritee',
50
+ liberland: 'Liberland',
51
+ mythos: 'Mythos',
52
+ polimec: 'Polimec',
53
+ vara: 'Vara'
54
+ };
55
+ export const ledgerApps = {
56
+ ...prevLedgerRecord,
57
+ ...genericLedgerApps
58
+ };
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import './packageDetect.js';
2
+ export * from './bundle.js';
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+ import './packageDetect.js';
2
+ export * from './bundle.js';
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "author": "Pezkuwi Team <team@pezkuwichain.app>",
2
+ "author": "Dijital Kurdistan Tech Institute <dev@pezkuwichain.io>",
3
3
  "bugs": "https://github.com/pezkuwichain/pezkuwi-common/issues",
4
4
  "engines": {
5
5
  "node": ">=18"
@@ -14,15 +14,165 @@
14
14
  },
15
15
  "sideEffects": [
16
16
  "./packageDetect.js",
17
- "./packageDetect.cjs"
17
+ "./cjs/packageDetect.js"
18
18
  ],
19
19
  "type": "module",
20
- "version": "14.0.10",
21
- "main": "index.js",
20
+ "types": "./index.d.ts",
21
+ "version": "14.0.12",
22
+ "main": "./cjs/index.js",
23
+ "module": "./index.js",
24
+ "exports": {
25
+ ".": {
26
+ "module": {
27
+ "types": "./index.d.ts",
28
+ "default": "./index.js"
29
+ },
30
+ "require": {
31
+ "types": "./cjs/index.d.ts",
32
+ "default": "./cjs/index.js"
33
+ },
34
+ "default": {
35
+ "types": "./index.d.ts",
36
+ "default": "./index.js"
37
+ }
38
+ },
39
+ "./bundle": {
40
+ "module": {
41
+ "types": "./bundle.d.ts",
42
+ "default": "./bundle.js"
43
+ },
44
+ "require": {
45
+ "types": "./cjs/bundle.d.ts",
46
+ "default": "./cjs/bundle.js"
47
+ },
48
+ "default": {
49
+ "types": "./bundle.d.ts",
50
+ "default": "./bundle.js"
51
+ }
52
+ },
53
+ "./cjs/*": "./cjs/*.js",
54
+ "./cjs/package.json": "./cjs/package.json",
55
+ "./constants": {
56
+ "module": {
57
+ "types": "./constants.d.ts",
58
+ "default": "./constants.js"
59
+ },
60
+ "require": {
61
+ "types": "./cjs/constants.d.ts",
62
+ "default": "./cjs/constants.js"
63
+ },
64
+ "default": {
65
+ "types": "./constants.d.ts",
66
+ "default": "./constants.js"
67
+ }
68
+ },
69
+ "./defaults": {
70
+ "module": {
71
+ "types": "./defaults.d.ts",
72
+ "default": "./defaults.js"
73
+ },
74
+ "require": {
75
+ "types": "./cjs/defaults.d.ts",
76
+ "default": "./cjs/defaults.js"
77
+ },
78
+ "default": {
79
+ "types": "./defaults.d.ts",
80
+ "default": "./defaults.js"
81
+ }
82
+ },
83
+ "./Ledger": {
84
+ "module": {
85
+ "types": "./Ledger.d.ts",
86
+ "default": "./Ledger.js"
87
+ },
88
+ "require": {
89
+ "types": "./cjs/Ledger.d.ts",
90
+ "default": "./cjs/Ledger.js"
91
+ },
92
+ "default": {
93
+ "types": "./Ledger.d.ts",
94
+ "default": "./Ledger.js"
95
+ }
96
+ },
97
+ "./LedgerGeneric": {
98
+ "module": {
99
+ "types": "./LedgerGeneric.d.ts",
100
+ "default": "./LedgerGeneric.js"
101
+ },
102
+ "require": {
103
+ "types": "./cjs/LedgerGeneric.d.ts",
104
+ "default": "./cjs/LedgerGeneric.js"
105
+ },
106
+ "default": {
107
+ "types": "./LedgerGeneric.d.ts",
108
+ "default": "./LedgerGeneric.js"
109
+ }
110
+ },
111
+ "./package.json": {
112
+ "require": "./cjs/package.json",
113
+ "default": "./package.json"
114
+ },
115
+ "./packageDetect": {
116
+ "module": {
117
+ "types": "./packageDetect.d.ts",
118
+ "default": "./packageDetect.js"
119
+ },
120
+ "require": {
121
+ "types": "./cjs/packageDetect.d.ts",
122
+ "default": "./cjs/packageDetect.js"
123
+ },
124
+ "default": {
125
+ "types": "./packageDetect.d.ts",
126
+ "default": "./packageDetect.js"
127
+ }
128
+ },
129
+ "./packageInfo": {
130
+ "module": {
131
+ "types": "./packageInfo.d.ts",
132
+ "default": "./packageInfo.js"
133
+ },
134
+ "require": {
135
+ "types": "./cjs/packageInfo.d.ts",
136
+ "default": "./cjs/packageInfo.js"
137
+ },
138
+ "default": {
139
+ "types": "./packageInfo.d.ts",
140
+ "default": "./packageInfo.js"
141
+ }
142
+ },
143
+ "./packageInfo.js": {
144
+ "module": {
145
+ "types": "./packageInfo.d.ts",
146
+ "default": "./packageInfo.js"
147
+ },
148
+ "require": {
149
+ "types": "./cjs/packageInfo.d.ts",
150
+ "default": "./cjs/packageInfo.js"
151
+ },
152
+ "default": {
153
+ "types": "./packageInfo.d.ts",
154
+ "default": "./packageInfo.js"
155
+ }
156
+ },
157
+ "./types": {
158
+ "module": {
159
+ "types": "./types.d.ts",
160
+ "default": "./types.js"
161
+ },
162
+ "require": {
163
+ "types": "./cjs/types.d.ts",
164
+ "default": "./cjs/types.js"
165
+ },
166
+ "default": {
167
+ "types": "./types.d.ts",
168
+ "default": "./types.js"
169
+ }
170
+ }
171
+ },
22
172
  "dependencies": {
23
- "@pezkuwi/hw-ledger-transports": "14.0.10",
24
- "@pezkuwi/util": "14.0.10",
173
+ "@pezkuwi/hw-ledger-transports": "14.0.12",
174
+ "@pezkuwi/util": "14.0.12",
25
175
  "@zondax/ledger-substrate": "1.1.1",
26
176
  "tslib": "^2.8.0"
27
177
  }
28
- }
178
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ import { packageInfo as transportInfo } from '@pezkuwi/hw-ledger-transports/packageInfo';
2
+ import { detectPackage } from '@pezkuwi/util';
3
+ import { packageInfo as utilInfo } from '@pezkuwi/util/packageInfo';
4
+ import { packageInfo } from './packageInfo.js';
5
+ detectPackage(packageInfo, null, [transportInfo, utilInfo]);
@@ -0,0 +1,6 @@
1
+ export declare const packageInfo: {
2
+ name: string;
3
+ path: string;
4
+ type: string;
5
+ version: string;
6
+ };
package/packageInfo.js ADDED
@@ -0,0 +1 @@
1
+ export const packageInfo = { name: '@pezkuwi/hw-ledger', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '14.0.10' };
@@ -3,4 +3,4 @@
3
3
 
4
4
  // Do not edit, auto-generated by @pezkuwi/dev
5
5
 
6
- export const packageInfo = { name: '@pezkuwi/hw-ledger', path: 'auto', type: 'auto', version: '14.0.10' };
6
+ export const packageInfo = { name: '@pezkuwi/hw-ledger', path: 'auto', type: 'auto', version: '14.0.12' };