@avalabs/glacier-sdk
Advanced tools
Comparing version 2.5.0-alpha.12 to 2.5.0-alpha.13
@@ -6,2 +6,6 @@ # Change Log | ||
# 2.5.0-alpha.13 (2022-08-16) | ||
**Note:** Version bump only for package @avalabs/glacier-sdk | ||
# 2.5.0-alpha.12 (2022-08-15) | ||
@@ -8,0 +12,0 @@ |
@@ -1,3 +0,3 @@ | ||
export * from './src/models'; | ||
export * from './src/generated/models'; | ||
export * from './src/glacierClient'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,2 +7,43 @@ 'use strict'; | ||
/* eslint-disable */ | ||
/* tslint:disable */ | ||
/* | ||
* --------------------------------------------------------------- | ||
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ## | ||
* ## ## | ||
* ## AUTHOR: acacode ## | ||
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ## | ||
* --------------------------------------------------------------- | ||
*/ | ||
exports.CurrencyCode = void 0; | ||
(function (CurrencyCode) { | ||
CurrencyCode["Usd"] = "usd"; | ||
CurrencyCode["Eur"] = "eur"; | ||
CurrencyCode["Aud"] = "aud"; | ||
CurrencyCode["Cad"] = "cad"; | ||
CurrencyCode["Chf"] = "chf"; | ||
CurrencyCode["Clp"] = "clp"; | ||
CurrencyCode["Czk"] = "czk"; | ||
CurrencyCode["Dkk"] = "dkk"; | ||
CurrencyCode["Gbp"] = "gbp"; | ||
CurrencyCode["Hkd"] = "hkd"; | ||
CurrencyCode["Huf"] = "huf"; | ||
})(exports.CurrencyCode || (exports.CurrencyCode = {})); | ||
exports.InternalTransactionOpCall = void 0; | ||
(function (InternalTransactionOpCall) { | ||
InternalTransactionOpCall["UNKNOWN"] = "UNKNOWN"; | ||
InternalTransactionOpCall["CALL"] = "CALL"; | ||
InternalTransactionOpCall["CREATE"] = "CREATE"; | ||
InternalTransactionOpCall["CREATE2"] = "CREATE2"; | ||
InternalTransactionOpCall["CALLCODE"] = "CALLCODE"; | ||
InternalTransactionOpCall["DELEGATECALL"] = "DELEGATECALL"; | ||
InternalTransactionOpCall["STATICCALL"] = "STATICCALL"; | ||
})(exports.InternalTransactionOpCall || (exports.InternalTransactionOpCall = {})); | ||
exports.VmName = void 0; | ||
(function (VmName) { | ||
VmName["EVM"] = "EVM"; | ||
VmName["BITCOIN"] = "BITCOIN"; | ||
VmName["ETHEREUM"] = "ETHEREUM"; | ||
})(exports.VmName || (exports.VmName = {})); | ||
class GlacierClient { | ||
@@ -9,0 +50,0 @@ constructor(baseUrl, version = 'v1', httpOptions) { |
import { HttpOptions } from '@avalabs/utils-sdk'; | ||
import { ChainInfo, Chains, CurrencyCode, Erc20Balances, Erc721Balances, HealthStatusCheck, ListTransactionDetails, NativeBalance, TransactionDetails } from './models'; | ||
import { ChainInfo, Chains, CurrencyCode, Erc20Balances, Erc721Balances, ListTransactionDetails, NativeBalance, TransactionDetails } from './generated/models'; | ||
import { HealthStatusCheck } from './types'; | ||
export declare class GlacierClient { | ||
@@ -4,0 +5,0 @@ private baseUrl; |
@@ -1,2 +0,2 @@ | ||
export * from './src/models'; | ||
export * from './src/generated/models'; | ||
export * from './src/glacierClient'; |
{ | ||
"name": "@avalabs/glacier-sdk", | ||
"version": "2.5.0-alpha.12", | ||
"version": "2.5.0-alpha.13", | ||
"description": "sdk for interacting with glacier-api", | ||
@@ -21,3 +21,3 @@ "author": "Oliver Wang <oliver.wang@avalabs.org>", | ||
"rollup-plugin-typescript2": "^0.30.0", | ||
"swagger-typescript-api": "^9.3.1", | ||
"swagger-typescript-api": "10.0.1", | ||
"ttypescript": "^1.5.12" | ||
@@ -30,3 +30,3 @@ }, | ||
"scripts": { | ||
"codegen": "sh ./regenerate-sdk.sh", | ||
"codegen": "node ./swagger/generateModels.js", | ||
"start": "rollup -c --watch", | ||
@@ -41,5 +41,5 @@ "build": "rollup -c", | ||
"dependencies": { | ||
"@avalabs/utils-sdk": "2.5.0-alpha.12" | ||
"@avalabs/utils-sdk": "2.5.0-alpha.13" | ||
}, | ||
"gitHead": "6d9c55125f772ffbfad7b693becbdf1530c269d6" | ||
"gitHead": "8f1f412d248ee8661eca38f026abbef2a2a03061" | ||
} |
@@ -8,7 +8,7 @@ import { HttpClient, HttpOptions } from '@avalabs/utils-sdk'; | ||
Erc721Balances, | ||
HealthStatusCheck, | ||
ListTransactionDetails, | ||
NativeBalance, | ||
TransactionDetails, | ||
} from './models'; | ||
} from './generated/models'; | ||
import { HealthStatusCheck } from './types'; | ||
@@ -15,0 +15,0 @@ export class GlacierClient { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22
71621
1228
2
2