@cityofzion/bs-neo3 0.7.2 → 0.8.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 (99) hide show
  1. package/.rush/temp/operation/build/all.log +1 -0
  2. package/.rush/temp/operation/build/state.json +1 -1
  3. package/.rush/temp/package-deps_build.json +11 -7
  4. package/.rush/temp/shrinkwrap-deps.json +354 -130
  5. package/CHANGELOG.json +22 -0
  6. package/CHANGELOG.md +11 -0
  7. package/bs-neo3.build.log +1 -2
  8. package/dist/BSNeo3.d.ts +28 -27
  9. package/dist/BSNeo3.js +184 -182
  10. package/dist/DoraBDSNeo3.d.ts +12 -12
  11. package/dist/DoraBDSNeo3.js +169 -169
  12. package/dist/DoraESNeo3.d.ts +7 -0
  13. package/dist/DoraESNeo3.js +19 -0
  14. package/dist/FlamingoEDSNeo3.d.ts +8 -8
  15. package/dist/FlamingoEDSNeo3.js +45 -44
  16. package/dist/GhostMarketNDSNeo3.d.ts +10 -10
  17. package/dist/GhostMarketNDSNeo3.js +75 -75
  18. package/dist/RpcBDSNeo3.d.ts +16 -15
  19. package/dist/RpcBDSNeo3.js +153 -152
  20. package/dist/assets/tokens/common.json +14 -14
  21. package/dist/assets/tokens/mainnet.json +116 -116
  22. package/dist/constants.d.ts +7 -7
  23. package/dist/constants.js +28 -28
  24. package/dist/index.d.ts +6 -6
  25. package/dist/index.js +22 -22
  26. package/jest.config.ts +13 -13
  27. package/jest.setup.ts +1 -1
  28. package/package.json +33 -32
  29. package/src/BSNeo3.ts +228 -223
  30. package/src/DoraBDSNeo3.ts +180 -180
  31. package/src/DoraESNeo3.ts +19 -0
  32. package/src/FlamingoEDSNeo3.ts +47 -45
  33. package/src/GhostMarketNDSNeo3.ts +117 -117
  34. package/src/RpcBDSNeo3.ts +157 -155
  35. package/src/__tests__/BDSNeo3.spec.ts +126 -126
  36. package/src/__tests__/BSNeo3.spec.ts +142 -142
  37. package/src/__tests__/DoraESNeo3.spec.ts +23 -0
  38. package/src/__tests__/FlamingoEDSNeo3.spec.ts +48 -45
  39. package/src/__tests__/GhostMarketNDSNeo3.spec.ts +43 -43
  40. package/src/__tests__/utils/sleep.ts +1 -1
  41. package/src/assets/tokens/common.json +13 -13
  42. package/src/assets/tokens/mainnet.json +115 -115
  43. package/src/constants.ts +29 -29
  44. package/src/index.ts +6 -6
  45. package/tsconfig.build.json +4 -4
  46. package/tsconfig.json +14 -14
  47. package/dist/BDSNeo3.d.ts +0 -15
  48. package/dist/BDSNeo3.js +0 -211
  49. package/dist/assets/tokens.json +0 -128
  50. package/dist/exceptions.d.ts +0 -3
  51. package/dist/exceptions.js +0 -8
  52. package/dist/explorer/dora/DoraNeo3Responses.d.ts +0 -174
  53. package/dist/explorer/dora/DoraNeo3Responses.js +0 -3
  54. package/dist/explorer/dora/DoraNeo3Routes.d.ts +0 -6
  55. package/dist/explorer/dora/DoraNeo3Routes.js +0 -9
  56. package/dist/explorer/index.d.ts +0 -6
  57. package/dist/explorer/index.js +0 -23
  58. package/docs/.nojekyll +0 -1
  59. package/docs/assets/highlight.css +0 -22
  60. package/docs/assets/main.js +0 -58
  61. package/docs/assets/search.js +0 -1
  62. package/docs/assets/style.css +0 -1280
  63. package/docs/classes/BDSNeo3.html +0 -253
  64. package/docs/classes/BSNeo3.html +0 -442
  65. package/docs/index.html +0 -82
  66. package/docs/interfaces/DoraNeo3Abi.html +0 -78
  67. package/docs/interfaces/DoraNeo3Asset.html +0 -117
  68. package/docs/interfaces/DoraNeo3AssetState.html +0 -96
  69. package/docs/interfaces/DoraNeo3Balance.html +0 -89
  70. package/docs/interfaces/DoraNeo3ConsensusNode.html +0 -75
  71. package/docs/interfaces/DoraNeo3Contract.html +0 -110
  72. package/docs/interfaces/DoraNeo3Event.html +0 -75
  73. package/docs/interfaces/DoraNeo3Features.html +0 -84
  74. package/docs/interfaces/DoraNeo3HistoryState.html +0 -75
  75. package/docs/interfaces/DoraNeo3Invocation.html +0 -75
  76. package/docs/interfaces/DoraNeo3Item.html +0 -131
  77. package/docs/interfaces/DoraNeo3Manifest.html +0 -117
  78. package/docs/interfaces/DoraNeo3Metadata.html +0 -138
  79. package/docs/interfaces/DoraNeo3Method.html +0 -102
  80. package/docs/interfaces/DoraNeo3Nef.html +0 -103
  81. package/docs/interfaces/DoraNeo3Notification.html +0 -82
  82. package/docs/interfaces/DoraNeo3Parameter.html +0 -75
  83. package/docs/interfaces/DoraNeo3Permission.html +0 -75
  84. package/docs/interfaces/DoraNeo3Signer.html +0 -75
  85. package/docs/interfaces/DoraNeo3Token.html +0 -96
  86. package/docs/interfaces/DoraNeo3Transaction.html +0 -166
  87. package/docs/interfaces/DoraNeo3TransactionHistory.html +0 -75
  88. package/docs/interfaces/DoraNeo3Transfer.html +0 -117
  89. package/docs/interfaces/DoraNeo3Witness.html +0 -75
  90. package/docs/modules.html +0 -122
  91. package/docs/variables/DORA_ASSET.html +0 -81
  92. package/docs/variables/DORA_BALANCE.html +0 -81
  93. package/docs/variables/DORA_CONTRACT.html +0 -81
  94. package/docs/variables/DORA_NODES.html +0 -81
  95. package/docs/variables/DORA_TRANSACTION.html +0 -81
  96. package/docs/variables/DORA_TRANSACTIONS.html +0 -81
  97. package/docs/variables/explorerOptions.html +0 -86
  98. package/docs/variables/gasInfoNeo3.html +0 -90
  99. package/docs/variables/neoInfoNeo3.html +0 -90
package/dist/BDSNeo3.js DELETED
@@ -1,211 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.BDSNeo3 = void 0;
13
- const neon_js_1 = require("@cityofzion/neon-js");
14
- const dora_ts_1 = require("@cityofzion/dora-ts");
15
- class BDSNeo3 {
16
- constructor() {
17
- this.explorer = 'https://dora.coz.io';
18
- this.network = 'mainnet';
19
- }
20
- setNetwork(network) {
21
- this.network = network;
22
- }
23
- getTransaction(txid) {
24
- return __awaiter(this, void 0, void 0, function* () {
25
- try {
26
- const data = yield dora_ts_1.api.NeoRest.transaction(txid, this.network);
27
- const transaction = yield this.findTransactionByTxid(txid, data.sender);
28
- if (!data || !transaction)
29
- throw new Error("query getTransaction failed");
30
- const result = {
31
- block: data.block,
32
- time: data.time,
33
- txid: data.hash,
34
- netfee: data.netfee,
35
- sysfee: data.sysfee,
36
- totfee: (Number(data.netfee) + Number(data.sysfee)).toString(),
37
- notifications: transaction.notifications,
38
- transfers: transaction.transfers
39
- };
40
- return result;
41
- }
42
- catch (error) {
43
- throw error;
44
- }
45
- });
46
- }
47
- findTransactionByTxid(txid, address) {
48
- return __awaiter(this, void 0, void 0, function* () {
49
- try {
50
- let transaction = undefined;
51
- let page = 1;
52
- let stop = false;
53
- while (!stop) {
54
- const transactionHistory = yield this.getHistoryTransactions(address, page);
55
- transaction = transactionHistory.transactions.find(tx => tx.txid === txid);
56
- if (transaction) {
57
- stop = true;
58
- }
59
- else {
60
- page++;
61
- }
62
- }
63
- if (!transaction)
64
- throw new Error(`Problem to build the transfers of transaction => ${txid}`);
65
- return transaction;
66
- }
67
- catch (error) {
68
- throw new Error(`Problem to build the transfers of transaction => ${txid}`);
69
- }
70
- });
71
- }
72
- getHistoryTransactions(address, page = 1) {
73
- return __awaiter(this, void 0, void 0, function* () {
74
- try {
75
- const data = yield dora_ts_1.api.NeoRest.addressTXFull(address, page, this.network);
76
- if (!data)
77
- throw new Error("query getHistoryTransactions failed");
78
- const result = {
79
- totalCount: data.totalCount,
80
- transactions: data.items.map(item => ({
81
- block: item.block,
82
- time: item.time,
83
- txid: item.hash,
84
- netfee: item.netfee,
85
- sysfee: item.sysfee,
86
- totfee: (Number(item.sysfee) + Number(item.netfee)).toString(),
87
- transfers: item.transfers.map(transfer => {
88
- return {
89
- amount: transfer.amount,
90
- from: transfer.from,
91
- to: transfer.to,
92
- hash: transfer.scripthash
93
- };
94
- }),
95
- notifications: item.notifications.map(notification => ({
96
- contract: notification.contract,
97
- event_name: notification.event_name,
98
- state: notification.state
99
- }))
100
- }))
101
- };
102
- data.items.forEach(item => {
103
- item.transfers;
104
- });
105
- return result;
106
- }
107
- catch (error) {
108
- throw error;
109
- }
110
- });
111
- }
112
- getContract(contractHash) {
113
- return __awaiter(this, void 0, void 0, function* () {
114
- try {
115
- const data = yield dora_ts_1.api.NeoRest.contract(contractHash, this.network);
116
- if (!data)
117
- throw new Error("query getContract failed");
118
- const result = {
119
- hash: data.hash,
120
- methods: data.manifest.abi.methods,
121
- name: data.manifest.name
122
- };
123
- return result;
124
- }
125
- catch (error) {
126
- throw error;
127
- }
128
- });
129
- }
130
- getTokenInfo(tokenHash) {
131
- return __awaiter(this, void 0, void 0, function* () {
132
- try {
133
- const data = yield dora_ts_1.api.NeoRest.asset(tokenHash, this.network);
134
- if (!data)
135
- throw new Error("query getTokenInfo failed");
136
- const result = {
137
- decimals: Number(data.decimals),
138
- symbol: data.symbol
139
- };
140
- return result;
141
- }
142
- catch (error) {
143
- throw error;
144
- }
145
- });
146
- }
147
- getBalance(address) {
148
- return __awaiter(this, void 0, void 0, function* () {
149
- try {
150
- const data = yield dora_ts_1.api.NeoRest.balance(address, this.network);
151
- if (!data)
152
- throw new Error("query getBalance failed");
153
- const result = data.map(balance => {
154
- return {
155
- amount: Number(balance.balance),
156
- hash: balance.asset,
157
- name: balance.asset_name,
158
- symbol: balance.symbol,
159
- };
160
- });
161
- return result;
162
- }
163
- catch (error) {
164
- throw error;
165
- }
166
- });
167
- }
168
- getAllNodes() {
169
- return __awaiter(this, void 0, void 0, function* () {
170
- try {
171
- const data = yield dora_ts_1.api.NeoRest.getAllNodes();
172
- const result = data;
173
- return result;
174
- }
175
- catch (error) {
176
- throw error;
177
- }
178
- });
179
- }
180
- getHigherNode() {
181
- return __awaiter(this, void 0, void 0, function* () {
182
- const nodes = yield this.getAllNodes();
183
- const node = nodes.reduce((bestNode, node) => {
184
- if (bestNode.height >= node.height) {
185
- return bestNode;
186
- }
187
- return node;
188
- });
189
- return node;
190
- });
191
- }
192
- //Implementation of BDSClaimable
193
- getUnclaimed(address) {
194
- return __awaiter(this, void 0, void 0, function* () {
195
- try {
196
- const url = (yield this.getHigherNode()).url;
197
- const rpcClient = new neon_js_1.rpc.RPCClient(url);
198
- const response = yield rpcClient.getUnclaimedGas(address);
199
- const result = {
200
- address,
201
- unclaimed: Number(response),
202
- };
203
- return result;
204
- }
205
- catch (error) {
206
- throw error;
207
- }
208
- });
209
- }
210
- }
211
- exports.BDSNeo3 = BDSNeo3;
@@ -1,128 +0,0 @@
1
- [
2
- {
3
- "symbol": "GAS",
4
- "name": "GASToken",
5
- "hash": "d2a4cff31913016155e38e474a2c06d08be276cf",
6
- "decimals": 8
7
- },
8
- {
9
- "symbol": "NEO",
10
- "name": "NeoToken",
11
- "hash": "ef4073a0f2b305a38ec4050e4d3d28bc40ea63f5",
12
- "decimals": 0
13
- },
14
- {
15
- "symbol": "LRB",
16
- "name": "LyrebirdToken",
17
- "hash": "8c07b4c9f5bc170a3922eac4f5bb7ef17b0acc8b",
18
- "decimals": 8
19
- },
20
- {
21
- "symbol": "USDL",
22
- "name": "LyrebirdUSDToken",
23
- "hash": "a8c51aa0c177187aeed3db88bdfa908ccbc9b1a5",
24
- "decimals": 8
25
- },
26
- {
27
- "symbol": "FLM",
28
- "name": "FLM",
29
- "hash": "0xf0151f528127558851b39c2cd8aa47da7418ab28",
30
- "decimals": 8
31
- },
32
- {
33
- "symbol": "fCAKE",
34
- "name": "fCAKE",
35
- "hash": "0xe65b462b90516012826f8a9c4c285d8c750e3a77",
36
- "decimals": 18
37
- },
38
- {
39
- "symbol": "WING",
40
- "name": "WING",
41
- "hash": "0xeeccd60ed722111f8400434dac3ba42c14d8beb1",
42
- "decimals": 9
43
- },
44
- {
45
- "symbol": "fWETH",
46
- "name": "fWETH",
47
- "hash": "0xc14b601252aa5dfa6166cf35fe5ccd2e35f3fdf5",
48
- "decimals": 18
49
- },
50
- {
51
- "symbol": "fWBTC",
52
- "name": "fWBTC",
53
- "hash": "0xd6abe115ecb75e1fa0b42f5e85934ce8c1ae2893",
54
- "decimals": 8
55
- },
56
- {
57
- "symbol": "SWTH",
58
- "name": "SWTHToken",
59
- "hash": "0x78e1330db47634afdb5ea455302ba2d12b8d549f",
60
- "decimals": 8
61
- },
62
- {
63
- "symbol": "pONT",
64
- "name": "pONT",
65
- "hash": "0x8122bc2212ec971690a044b37a6f52a9349b702b",
66
- "decimals": 9
67
- },
68
- {
69
- "symbol": "fUSDT",
70
- "name": "fUSDT",
71
- "hash": "0xcd48b160c1bbc9d74997b803b9a7ad50a4bef020",
72
- "decimals": 6
73
- },
74
- {
75
- "symbol": "FLUND",
76
- "name": "FLUND",
77
- "hash": "0xa9603a59e21d29e37ac39cf1b5f5abf5006b22a3",
78
- "decimals": 8
79
- },
80
- {
81
- "symbol": "GM",
82
- "name": "GhostMarketToken",
83
- "hash": "0x9b049f1283515eef1d3f6ac610e1595ed25ca3e9",
84
- "decimals": 8
85
- },
86
- {
87
- "symbol": "NUDES",
88
- "name": "Nudes",
89
- "hash": "0x340720c7107ef5721e44ed2ea8e314cce5c130fa",
90
- "decimals": 8
91
- },
92
- {
93
- "symbol": "CANDY",
94
- "name": "NeoCandy",
95
- "hash": "0x88da18a5bca86ec8206d9b4960a7d0c4355a432f",
96
- "decimals": 9
97
- },
98
- {
99
- "symbol": "DOGER",
100
- "name": "DogeRift",
101
- "hash": "0x322b5a366ca724801a1aa01e669b5f3d7f8c7f6f",
102
- "decimals": 8
103
- },
104
- {
105
- "symbol": "DOGEF",
106
- "name": "DogeFood",
107
- "hash": "0xa3291b66f70d4687fc0e41977d8acb0699f235ae",
108
- "decimals": 8
109
- },
110
- {
111
- "symbol": "SOM",
112
- "name": "Som",
113
- "hash": "0x2d4c6cf0417209a7eb410160344e224e74f87195",
114
- "decimals": 8
115
- },
116
- {
117
- "symbol": "LAMBO",
118
- "name": "BoomerFund",
119
- "hash": "0xafdd6abedf066ff8c5fbc868cc89f80eac467142",
120
- "decimals": 8
121
- },
122
- {
123
- "symbol": "bNEO",
124
- "hash": "0x48c40d4666f93408be1bef038b6722404d9a4c2a",
125
- "decimals": 8,
126
- "name": "BurgerNEO"
127
- }
128
- ]
@@ -1,3 +0,0 @@
1
- export declare const claimGasExceptions: {
2
- InsuficientGas: (gasAmount: string, gasFee: string) => never;
3
- };
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.claimGasExceptions = void 0;
4
- exports.claimGasExceptions = {
5
- InsuficientGas: (gasAmount, gasFee) => {
6
- throw new Error(`Insuficient GAS to complete transaction, the fee it's ${gasFee} and you have ${gasAmount}`);
7
- }
8
- };
@@ -1,174 +0,0 @@
1
- export interface DoraNeo3Signer {
2
- account: string;
3
- scopes: string;
4
- }
5
- export interface DoraNeo3Witness {
6
- invocation: string;
7
- verification: string;
8
- }
9
- export interface DoraNeo3Transaction {
10
- hash: string;
11
- size: number;
12
- version: number;
13
- nonce: number;
14
- sender: string;
15
- sysfee: string;
16
- netfee: string;
17
- validuntilblock: number;
18
- signers: DoraNeo3Signer[];
19
- attributes: any[];
20
- script: string;
21
- witnesses: DoraNeo3Witness[];
22
- block: number;
23
- jsonsize: number;
24
- time: string;
25
- }
26
- export interface DoraNeo3ConsensusNode {
27
- url: string;
28
- height: number;
29
- }
30
- export interface DoraNeo3Metadata {
31
- summary: string;
32
- symbol: string;
33
- contract_name: string;
34
- scripthash: string;
35
- from: string;
36
- to: string;
37
- amount: number;
38
- data: string;
39
- voter: string;
40
- candidate: string;
41
- candidate_name: string;
42
- }
43
- export interface DoraNeo3Invocation {
44
- type: string;
45
- metadata: DoraNeo3Metadata;
46
- }
47
- export interface DoraNeo3Transfer {
48
- from: string;
49
- to: string;
50
- time: string;
51
- scripthash: string;
52
- amount: string;
53
- block: number;
54
- txid: string;
55
- transferindex: string;
56
- }
57
- export interface DoraNeo3HistoryState {
58
- type: string;
59
- value: string;
60
- }
61
- export interface DoraNeo3Notification {
62
- contract: string;
63
- event_name: string;
64
- state: DoraNeo3HistoryState[];
65
- }
66
- export interface DoraNeo3Item {
67
- block: number;
68
- hash: string;
69
- invocations: DoraNeo3Invocation[];
70
- netfee: string;
71
- sender: string;
72
- sysfee: string;
73
- time: string;
74
- transfers: DoraNeo3Transfer[];
75
- vmstate: string;
76
- notifications: DoraNeo3Notification[];
77
- }
78
- export interface DoraNeo3TransactionHistory {
79
- items: DoraNeo3Item[];
80
- totalCount: number;
81
- }
82
- export interface DoraNeo3Balance {
83
- asset: string;
84
- asset_name: string;
85
- symbol: string;
86
- balance: number;
87
- }
88
- export interface DoraNeo3Token {
89
- hash: string;
90
- method: string;
91
- paramcount: number;
92
- hasreturnvalue: boolean;
93
- callflags: string;
94
- }
95
- export interface DoraNeo3Nef {
96
- magic: number;
97
- compiler: string;
98
- source: string;
99
- tokens: DoraNeo3Token[];
100
- script: string;
101
- checksum: number;
102
- }
103
- export interface DoraNeo3Features {
104
- }
105
- export interface DoraNeo3Parameter {
106
- name: string;
107
- type: string;
108
- }
109
- export interface DoraNeo3Method {
110
- name: string;
111
- parameters: DoraNeo3Parameter[];
112
- returntype: string;
113
- offset: number;
114
- safe: boolean;
115
- }
116
- export interface DoraNeo3Event {
117
- name: string;
118
- parameters: DoraNeo3Parameter[];
119
- }
120
- export interface DoraNeo3Abi {
121
- methods: DoraNeo3Method[];
122
- events: DoraNeo3Event[];
123
- }
124
- export interface DoraNeo3Permission {
125
- contract: string;
126
- methods: string[];
127
- }
128
- export interface DoraNeo3Manifest {
129
- name: string;
130
- groups: any[];
131
- features: DoraNeo3Features;
132
- supportedstandards: string[];
133
- abi: DoraNeo3Abi;
134
- permissions: DoraNeo3Permission[];
135
- trusts: any[];
136
- extra?: any;
137
- }
138
- export interface DoraNeo3Contract {
139
- id: number;
140
- updatecounter: number;
141
- hash: string;
142
- nef: DoraNeo3Nef;
143
- manifest: DoraNeo3Manifest;
144
- block: number;
145
- time: string;
146
- }
147
- export interface DoraNeo3Method {
148
- name: string;
149
- parameters: DoraNeo3Parameter[];
150
- returntype: string;
151
- offset: number;
152
- safe: boolean;
153
- }
154
- export interface DoraNeo3Abi {
155
- methods: DoraNeo3Method[];
156
- events: DoraNeo3Event[];
157
- }
158
- export interface DoraNeo3AssetState {
159
- id: number;
160
- updatecounter: number;
161
- hash: string;
162
- nef: DoraNeo3Nef;
163
- manifest: DoraNeo3Manifest;
164
- }
165
- export interface DoraNeo3Asset {
166
- name: string;
167
- scripthash: string;
168
- firstseen: number;
169
- symbol: string;
170
- decimals: string;
171
- state: DoraNeo3AssetState;
172
- type: string;
173
- time: string;
174
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //******************************************************************************
@@ -1,6 +0,0 @@
1
- export declare const DORA_TRANSACTION = "transaction";
2
- export declare const DORA_NODES = "get_all_nodes";
3
- export declare const DORA_TRANSACTIONS = "address_txfull";
4
- export declare const DORA_BALANCE = "balance";
5
- export declare const DORA_CONTRACT = "contract";
6
- export declare const DORA_ASSET = "asset";
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DORA_ASSET = exports.DORA_CONTRACT = exports.DORA_BALANCE = exports.DORA_TRANSACTIONS = exports.DORA_NODES = exports.DORA_TRANSACTION = void 0;
4
- exports.DORA_TRANSACTION = 'transaction';
5
- exports.DORA_NODES = 'get_all_nodes';
6
- exports.DORA_TRANSACTIONS = 'address_txfull';
7
- exports.DORA_BALANCE = 'balance';
8
- exports.DORA_CONTRACT = 'contract';
9
- exports.DORA_ASSET = 'asset';
@@ -1,6 +0,0 @@
1
- export * from './dora/DoraNeo3Responses';
2
- export * from './dora/DoraNeo3Routes';
3
- import { BDSNeo3 } from "../BDSNeo3";
4
- export declare const explorerOptions: {
5
- dora: BDSNeo3;
6
- };
@@ -1,23 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.explorerOptions = void 0;
18
- __exportStar(require("./dora/DoraNeo3Responses"), exports);
19
- __exportStar(require("./dora/DoraNeo3Routes"), exports);
20
- const BDSNeo3_1 = require("../BDSNeo3");
21
- exports.explorerOptions = {
22
- dora: new BDSNeo3_1.BDSNeo3()
23
- };
package/docs/.nojekyll DELETED
@@ -1 +0,0 @@
1
- TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
@@ -1,22 +0,0 @@
1
- :root {
2
- --light-code-background: #FFFFFF;
3
- --dark-code-background: #1E1E1E;
4
- }
5
-
6
- @media (prefers-color-scheme: light) { :root {
7
- --code-background: var(--light-code-background);
8
- } }
9
-
10
- @media (prefers-color-scheme: dark) { :root {
11
- --code-background: var(--dark-code-background);
12
- } }
13
-
14
- :root[data-theme='light'] {
15
- --code-background: var(--light-code-background);
16
- }
17
-
18
- :root[data-theme='dark'] {
19
- --code-background: var(--dark-code-background);
20
- }
21
-
22
- pre, code { background: var(--code-background); }