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.0.1 to 0.0.2

6

dist-types/wallet-json-rpc/events.d.ts

@@ -8,2 +8,8 @@ import { StarknetChainId } from '../common/constants';

}
export type WalletEvents = {
[E in keyof WalletEventHandlers]: {
type: E;
handler: WalletEventHandlers[E];
};
}[keyof WalletEventHandlers];
export type WalletEventListener = <E extends keyof WalletEventHandlers>(event: E, handleEvent: WalletEventHandlers[E]) => void;

9

package.json
{
"name": "starknet-types",
"version": "0.0.1",
"publishConfig": {
"access": "public"
},
"version": "0.0.2",
"description": "Shared TypeScript definitions for Starknet projects",

@@ -18,2 +15,3 @@ "keywords": [

"license": "MIT",
"main": "dist/index.js",
"types": "dist-types/index.d.ts",

@@ -24,2 +22,5 @@ "files": [

"sideEffects": false,
"publishConfig": {
"access": "public"
},
"scripts": {

@@ -26,0 +27,0 @@ "build": "tsc --build",

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