@cityofzion/dora-ts
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -1,2 +0,2 @@ | ||
export * from './neoN3'; | ||
export * from './neoLegacy'; | ||
export * from './neo'; | ||
export * from './neo_legacy'; |
@@ -17,4 +17,4 @@ "use strict"; | ||
exports.__esModule = true; | ||
__exportStar(require("./neoN3"), exports); | ||
__exportStar(require("./neoLegacy"), exports); | ||
__exportStar(require("./neo"), exports); | ||
__exportStar(require("./neo_legacy"), exports); | ||
//# sourceMappingURL=index.js.map |
export * as api from './api'; | ||
export * as interfaces from './interfaces'; | ||
export * from './interfaces'; |
@@ -25,6 +25,9 @@ "use strict"; | ||
}; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
exports.__esModule = true; | ||
exports.interfaces = exports.api = void 0; | ||
exports.api = void 0; | ||
exports.api = __importStar(require("./api")); | ||
exports.interfaces = __importStar(require("./interfaces")); | ||
__exportStar(require("./interfaces"), exports); | ||
//# sourceMappingURL=index.js.map |
export * as NeoLegacy from './neo_legacy'; | ||
export * as NeoN3 from './neo'; | ||
export * as Neo from './neo'; |
@@ -26,5 +26,5 @@ "use strict"; | ||
exports.__esModule = true; | ||
exports.NeoN3 = exports.NeoLegacy = void 0; | ||
exports.Neo = exports.NeoLegacy = void 0; | ||
exports.NeoLegacy = __importStar(require("./neo_legacy")); | ||
exports.NeoN3 = __importStar(require("./neo")); | ||
exports.Neo = __importStar(require("./neo")); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export * as api from './api'; | ||
export * from './api'; | ||
export * from './rest'; |
@@ -13,14 +13,2 @@ "use strict"; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
@@ -30,5 +18,4 @@ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
exports.__esModule = true; | ||
exports.api = void 0; | ||
exports.api = __importStar(require("./api")); | ||
__exportStar(require("./api"), exports); | ||
__exportStar(require("./rest"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -286,3 +286,3 @@ "use strict"; | ||
switch (_a.label) { | ||
case 0: return [4, neo_1.NeoRest.addressTXFull('Nb9QYTVx8F6j5kKi1k1ERaUTFfSX5JRq2D', 1, 'testnet')]; | ||
case 0: return [4, neo_1.NeoRest.addressTransactions('Nb9QYTVx8F6j5kKi1k1ERaUTFfSX5JRq2D', 1, 'testnet')]; | ||
case 1: | ||
@@ -306,3 +306,2 @@ res = _a.sent(); | ||
stub = res[0]; | ||
console.log(stub); | ||
chai_1.assert.equal(JSON.stringify(stub), JSON.stringify({ | ||
@@ -309,0 +308,0 @@ blockheight: 3344359, |
{ | ||
"name": "@cityofzion/dora-ts", | ||
"version": "0.3.1", | ||
"description": "A typescript sdk for the dora blockchain data aggregator by COZ.", | ||
"license": "Apache-2.0", | ||
"version": "0.3.2", | ||
"description": "", | ||
"main": "dist/index", | ||
@@ -23,3 +22,3 @@ "types": "dist/index", | ||
"precommit": "lint-staged", | ||
"docs": "typedoc --out docs/", | ||
"buildDocs": "typedoc --out docs/", | ||
"publishDocs": "aws sy sync ./docs s3://neoscan/prod/documentation --acl public-read " | ||
@@ -26,0 +25,0 @@ }, |
@@ -21,10 +21,4 @@ <p align="center"> | ||
### Initial test and execution | ||
1. Install dependencies: `npm install @cityofzion/dora-ts` | ||
1. Install dependencies: `npm install` | ||
2. Build SDK: `npm run build` | ||
3. Run tests: `npm run test` | ||
### General Use | ||
For workflows and sdk usage, refer to the [tests](./src/tests) directory. | ||
@@ -1,2 +0,2 @@ | ||
export * from './neoN3' | ||
export * from './neoLegacy' | ||
export * from './neo' | ||
export * from './neo_legacy' |
export * as api from './api' | ||
export * as interfaces from './interfaces' | ||
export * from './interfaces' |
export * as NeoLegacy from './neo_legacy' | ||
export * as NeoN3 from './neo' | ||
export * as Neo from './neo' |
//export * from "./common" | ||
export * as api from './api' | ||
export * from './api' | ||
export * from './rest' |
@@ -21,7 +21,3 @@ { | ||
"node_modules" | ||
], | ||
"typedocOptions": { | ||
"entryPoints": ["./src/index.ts"], | ||
"out": "docs" | ||
} | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
223636
105
4469
24