starknet-types
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -17,10 +17,7 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./api/components.js"), exports); | ||
__exportStar(require("./wallet-api/constants.js"), exports); | ||
__exportStar(require("./wallet-api/typedData.js"), exports); | ||
__exportStar(require("./wallet-api/StarknetWindowObject.js"), exports); | ||
__exportStar(require("./wallet-api/components.js"), exports); | ||
__exportStar(require("./wallet-api/methods.js"), exports); | ||
__exportStar(require("./wallet-api/events.js"), exports); | ||
__exportStar(require("./wallet-api/errors.js"), exports); | ||
exports.WALLET_API = exports.API = void 0; | ||
__exportStar(require("./api/index.js"), exports); | ||
exports.API = require("./api/index.js"); | ||
__exportStar(require("./wallet-api/index.js"), exports); | ||
exports.WALLET_API = require("./wallet-api/index.js"); | ||
//# sourceMappingURL=index.js.map |
@@ -1,9 +0,7 @@ | ||
export * from './api/components.js'; | ||
export * from './wallet-api/constants.js'; | ||
export * from './wallet-api/typedData.js'; | ||
export * from './wallet-api/StarknetWindowObject.js'; | ||
export * from './wallet-api/components.js'; | ||
export * from './wallet-api/methods.js'; | ||
export * from './wallet-api/events.js'; | ||
export * from './wallet-api/errors.js'; | ||
export * from './api/index.js'; | ||
import * as API_1 from './api/index.js'; | ||
export { API_1 as API }; | ||
export * from './wallet-api/index.js'; | ||
import * as WALLET_API_1 from './wallet-api/index.js'; | ||
export { WALLET_API_1 as WALLET_API }; | ||
//# sourceMappingURL=index.js.map |
@@ -1,9 +0,5 @@ | ||
export * from './api/components.js'; | ||
export * from './wallet-api/constants.js'; | ||
export * from './wallet-api/typedData.js'; | ||
export * from './wallet-api/StarknetWindowObject.js'; | ||
export * from './wallet-api/components.js'; | ||
export * from './wallet-api/methods.js'; | ||
export * from './wallet-api/events.js'; | ||
export * from './wallet-api/errors.js'; | ||
export * from './api/index.js'; | ||
export * as API from './api/index.js'; | ||
export * from './wallet-api/index.js'; | ||
export * as WALLET_API from './wallet-api/index.js'; | ||
//# sourceMappingURL=index.d.ts.map |
import type { CONTRACT_CLASS, FELT, ADDRESS, SIGNATURE } from '../api/components.js'; | ||
import type { ChainId } from '../api/index.js'; | ||
/** | ||
@@ -27,7 +28,2 @@ * Account Address | ||
/** | ||
* chain id, given in hex representation. | ||
* @pattern "^0x[a-fA-F0-9]+$" | ||
*/ | ||
export type ChainId = string; | ||
/** | ||
* Starknet Token | ||
@@ -34,0 +30,0 @@ * Details of an onchain Starknet ERC20 token |
@@ -1,2 +0,2 @@ | ||
import type { ChainId } from './components.js'; | ||
import type { ChainId } from '../api/index.js'; | ||
export type AccountChangeEventHandler = (accounts?: string[]) => void; | ||
@@ -3,0 +3,0 @@ export type NetworkChangeEventHandler = (chainId?: ChainId, accounts?: string[]) => void; |
import { Permission } from './constants.js'; | ||
import type { TypedData } from './typedData.js'; | ||
import * as Errors from './errors.js'; | ||
import type { AccountDeploymentData, AddDeclareTransactionParameters, AddDeclareTransactionResult, AddInvokeTransactionParameters, AddInvokeTransactionResult, AddStarknetChainParameters, Address, ChainId, RequestAccountsParameters, Signature, SpecVersion, SwitchStarknetChainParameters, WatchAssetParameters } from './components.js'; | ||
import type { AccountDeploymentData, AddDeclareTransactionParameters, AddDeclareTransactionResult, AddInvokeTransactionParameters, AddInvokeTransactionResult, AddStarknetChainParameters, Address, RequestAccountsParameters, Signature, SpecVersion, SwitchStarknetChainParameters, WatchAssetParameters } from './components.js'; | ||
import type { ChainId } from '../api/index.js'; | ||
/** | ||
@@ -6,0 +7,0 @@ * Maps each RPC message type to its corresponding parameters and result type. |
{ | ||
"name": "starknet-types", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Shared TypeScript definitions for Starknet projects", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/starknet-io/types-js", |
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
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
108815
94
1782
0