Compare commits

..
Author SHA1 Message Date
dboreham ebe628d082 Remove broken is-url dependency 2022-12-21 13:08:09 -07:00
dboreham b867ea61e8 Merge pull request #9 from cerc-io/dboreham/npm-publish-fixes
Add scope to package name
2022-12-09 07:16:13 -07:00
dboreham 770bca6cc3 Merge main 2022-12-09 07:14:14 -07:00
nabarun b73bb3e216 Upgrade package version to 0.1.4 2022-12-09 18:16:58 +05:30
nabarun f2c7468ba8 Fix version of bip32 package (#14) 2022-12-09 18:13:53 +05:30
nabarun 94920171ae Upgrade package version (#13) 2022-12-09 17:35:49 +05:30
dboreham 88ffbbc2b2 Revert to original version 2022-12-01 20:43:16 -07:00
dboreham 051a942d03 v0.1.23 2022-12-01 20:36:47 -07:00
dboreham 94becf4a5b Add .npmignore file to make publish work 2022-12-01 20:24:58 -07:00
dboreham 48594a48e6 v0.1.2 2022-12-01 20:20:20 -07:00
dboreham 463220ff58 Add scope to package name 2022-12-01 19:40:56 -07:00
4 changed files with 1125 additions and 1023 deletions
View File
+2 -4
View File
@@ -1,13 +1,12 @@
{
"name": "@cerc-io/laconic-sdk",
"version": "0.1.0",
"version": "0.1.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "git@github.com:cerc-io/laconic-sdk.git",
"author": "",
"license": "UNLICENSED",
"devDependencies": {
"@types/is-url": "^1.2.30",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.181",
"@types/semver": "^7.3.9",
@@ -32,13 +31,12 @@
"@tharsis/provider": "^0.2.4",
"@tharsis/transactions": "^0.2.2",
"axios": "^0.26.1",
"bip32": "^3.0.1",
"bip32": "3.0.1",
"bip39": "^3.0.4",
"canonical-json": "^0.0.4",
"ethers": "^5.6.2",
"evmosjs": "^0.2.5",
"graphql.js": "^0.6.8",
"is-url": "^1.2.4",
"js-sha256": "^0.9.0",
"js-yaml": "^3.14.1",
"jsonschema": "^1.4.0",
-8
View File
@@ -1,4 +1,3 @@
import isUrl from 'is-url';
import { sha256 } from 'js-sha256';
import { generatePostBodyBroadcast, BroadcastMode } from '@tharsis/provider';
import {
@@ -122,13 +121,6 @@ export class Registry {
}
constructor(gqlUrl: string, restUrl: string = "", chainId: string = DEFAULT_CHAIN_ID) {
if (!isUrl(gqlUrl)) {
throw new Error('Path to a GQL endpoint should be provided.');
}
if (restUrl && !isUrl(restUrl)) {
throw new Error('REST endpoint is not a URL string.');
}
this._endpoints = {
rest: restUrl,
+1123 -1011
View File
File diff suppressed because it is too large Load Diff