@walletconnect/jsonrpc-types
Advanced tools
Comparing version 1.0.1 to 1.0.2-canary-1
@@ -8,2 +8,3 @@ export interface JsonRpcProviderMessage<T = any> { | ||
params?: T; | ||
id?: number; | ||
} | ||
@@ -29,4 +30,4 @@ export interface JsonRpcRequest<T = any> extends Required<RequestArguments<T>> { | ||
} | ||
export declare type JsonRpcResponse<T = any> = JsonRpcResult<T> | JsonRpcError; | ||
export declare type JsonRpcPayload<P = any, R = any> = JsonRpcRequest<P> | JsonRpcResponse<R>; | ||
export type JsonRpcResponse<T = any> = JsonRpcResult<T> | JsonRpcError; | ||
export type JsonRpcPayload<P = any, R = any> = JsonRpcRequest<P> | JsonRpcResponse<R>; | ||
//# sourceMappingURL=jsonrpc.d.ts.map |
@@ -12,3 +12,3 @@ export interface JsonRpcValidationResult { | ||
} | ||
export declare type JsonRpcValidation = JsonRpcValidationValid | JsonRpcValidationInvalid; | ||
export type JsonRpcValidation = JsonRpcValidationValid | JsonRpcValidationInvalid; | ||
//# sourceMappingURL=validator.d.ts.map |
@@ -8,2 +8,3 @@ export interface JsonRpcProviderMessage<T = any> { | ||
params?: T; | ||
id?: number; | ||
} | ||
@@ -29,4 +30,4 @@ export interface JsonRpcRequest<T = any> extends Required<RequestArguments<T>> { | ||
} | ||
export declare type JsonRpcResponse<T = any> = JsonRpcResult<T> | JsonRpcError; | ||
export declare type JsonRpcPayload<P = any, R = any> = JsonRpcRequest<P> | JsonRpcResponse<R>; | ||
export type JsonRpcResponse<T = any> = JsonRpcResult<T> | JsonRpcError; | ||
export type JsonRpcPayload<P = any, R = any> = JsonRpcRequest<P> | JsonRpcResponse<R>; | ||
//# sourceMappingURL=jsonrpc.d.ts.map |
@@ -0,1 +1,2 @@ | ||
export {}; | ||
//# sourceMappingURL=jsonrpc.js.map |
@@ -12,3 +12,3 @@ export interface JsonRpcValidationResult { | ||
} | ||
export declare type JsonRpcValidation = JsonRpcValidationValid | JsonRpcValidationInvalid; | ||
export type JsonRpcValidation = JsonRpcValidationValid | JsonRpcValidationInvalid; | ||
//# sourceMappingURL=validator.d.ts.map |
@@ -0,1 +1,2 @@ | ||
export {}; | ||
//# sourceMappingURL=validator.js.map |
{ | ||
"name": "@walletconnect/jsonrpc-types", | ||
"description": "Typings for JSON-RPC", | ||
"version": "1.0.1", | ||
"version": "1.0.2-canary-1", | ||
"author": "WalletConnect, Inc. <walletconnect.com>", | ||
@@ -41,6 +41,10 @@ "license": "MIT", | ||
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts", | ||
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'" | ||
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'", | ||
"npm-publish:latest": "npm publish --access public --tag latest", | ||
"npm-publish:canary": "npm publish --access public --tag canary", | ||
"prepublishOnly": "npm run test && npm run build" | ||
}, | ||
"dependencies": { | ||
"keyvaluestorage-interface": "^1.0.0" | ||
"keyvaluestorage-interface": "^1.0.0", | ||
"tslib": "1.14.1" | ||
}, | ||
@@ -75,3 +79,3 @@ "devDependencies": { | ||
"prettier": "^1.19.1", | ||
"typescript": "^3.7.5", | ||
"typescript": "^4.9.5", | ||
"webpack": "^4.41.6", | ||
@@ -78,0 +82,0 @@ "webpack-cli": "^3.3.11" |
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
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
247
74102
2
1
1
+ Addedtslib@1.14.1
+ Addedtslib@1.14.1(transitive)