starknet-types
Advanced tools
Comparing version 0.0.5 to 0.7.1
@@ -17,9 +17,10 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./common/constants.js"), exports); | ||
__exportStar(require("./common/miscellaneous.js"), exports); | ||
__exportStar(require("./common/typedData.js"), exports); | ||
__exportStar(require("./wallet-json-rpc/StarknetWindowObject.js"), exports); | ||
__exportStar(require("./wallet-json-rpc/components.js"), exports); | ||
__exportStar(require("./wallet-json-rpc/methods.js"), exports); | ||
__exportStar(require("./wallet-json-rpc/events.js"), exports); | ||
__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); | ||
//# sourceMappingURL=index.js.map |
@@ -1,8 +0,9 @@ | ||
export * from './common/constants.js'; | ||
export * from './common/miscellaneous.js'; | ||
export * from './common/typedData.js'; | ||
export * from './wallet-json-rpc/StarknetWindowObject.js'; | ||
export * from './wallet-json-rpc/components.js'; | ||
export * from './wallet-json-rpc/methods.js'; | ||
export * from './wallet-json-rpc/events.js'; | ||
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'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,8 +0,9 @@ | ||
export * from './common/constants.js'; | ||
export * from './common/miscellaneous.js'; | ||
export * from './common/typedData.js'; | ||
export * from './wallet-json-rpc/StarknetWindowObject.js'; | ||
export * from './wallet-json-rpc/components.js'; | ||
export * from './wallet-json-rpc/methods.js'; | ||
export * from './wallet-json-rpc/events.js'; | ||
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'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "starknet-types", | ||
"version": "0.0.5", | ||
"version": "0.7.1", | ||
"description": "Shared TypeScript definitions for Starknet projects", | ||
@@ -16,3 +16,2 @@ "homepage": "https://github.com/starknet-io/types-js", | ||
"license": "MIT", | ||
"type": "module", | ||
@@ -49,2 +48,3 @@ "exports": { | ||
"@typescript-eslint/parser": "^7.4.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.57.0", | ||
@@ -58,2 +58,3 @@ "eslint-config-airbnb-base": "^15.0.0", | ||
"prettier-plugin-import-sort": "^0.0.7", | ||
"semantic-release": "^23.0.8", | ||
"typescript": "^5.4.3" | ||
@@ -63,3 +64,8 @@ }, | ||
"access": "public" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
} | ||
} |
@@ -1,3 +0,1 @@ | ||
# starknet-types | ||
@@ -7,6 +5,5 @@ | ||
![Typescript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white) | ||
[![GitHub Workflow Status](https://github.com/starknet-io/types-rs/actions/workflows/test.yml/badge.svg)](https://github.com/starknet-io/types-rs/actions/workflows/test.yml) | ||
[![Project license](https://img.shields.io/github/license/starknet-io/types-rs.svg?style=flat-square)](LICENSE) | ||
[![Pull Requests welcome](https://img.shields.io/badge/PRs-welcome-ff69b4.svg?style=flat-square)](https://github.com/starknet-io/types-rs/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) | ||
[![GitHub Workflow Status](https://github.com/starknet-io/types-js/actions/workflows/publish.yml/badge.svg)](https://github.com/starknet-io/types-js/actions/workflows/publish.yml) | ||
[![Project license](https://img.shields.io/github/license/starknet-io/types-js.svg?style=flat-square)](LICENSE) | ||
[![Pull Requests welcome](https://img.shields.io/badge/PRs-welcome-ff69b4.svg?style=flat-square)](https://github.com/starknet-io/types-js/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) | ||
@@ -16,7 +13,18 @@ Shared TypeScript type definitions for Starknet projects | ||
## Types | ||
- common enums | ||
- Wallet JSON RPC Specification | ||
- (WIP) api [Starknet JSON RPC Specification](https://github.com/starkware-libs/starknet-specs/tree/master/api) | ||
- wallet-api [Wallet JSON RPC Specification](https://github.com/starkware-libs/starknet-specs/tree/48e77bf4aaf687388b40b8198e3105401941517a/wallet-api) | ||
- SNIP-12 [Hashing and signing typed structured data](https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-12.md) | ||
## Versioning (wip - pending PR merge will be the first version in sync) | ||
(MAJOR.MINOR) Version of this package should follow [starknet-spec](https://github.com/starkware-libs/starknet-specs) semantic versioning. | ||
PATCH version can diverge based on bug-fixes | ||
Starknet types v0.7.x <-> Starknet Spec v0.7.x | ||
## Usage | ||
As a package | ||
```bash | ||
@@ -23,0 +31,0 @@ npm i starknet-types |
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
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
60910
58
984
47
13
1