Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

starknet-types

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

starknet-types - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

dist/cjs/api/contract.js

13

dist/cjs/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc