genlayer-js 0.18.11 → 0.18.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -1
- package/.eslintignore +0 -3
- package/.eslintrc.cjs +0 -59
- package/.github/pull_request_template.md +0 -43
- package/.github/workflows/publish.yml +0 -98
- package/.github/workflows/smoke.yml +0 -27
- package/.github/workflows/test.yml +0 -33
- package/.prettierignore +0 -19
- package/.prettierrc +0 -12
- package/.release-it.json +0 -66
- package/CHANGELOG.md +0 -306
- package/CLAUDE.md +0 -66
- package/CONTRIBUTING.md +0 -87
- package/renovate.json +0 -20
- package/src/abi/calldata/consts.ts +0 -14
- package/src/abi/calldata/decoder.ts +0 -86
- package/src/abi/calldata/encoder.ts +0 -178
- package/src/abi/calldata/index.ts +0 -3
- package/src/abi/calldata/string.ts +0 -83
- package/src/abi/index.ts +0 -6
- package/src/abi/staking.ts +0 -1501
- package/src/abi/transactions.ts +0 -11
- package/src/accounts/IAccountActions.ts +0 -5
- package/src/accounts/account.ts +0 -9
- package/src/accounts/actions.ts +0 -34
- package/src/chains/actions.ts +0 -40
- package/src/chains/index.ts +0 -4
- package/src/chains/localnet.ts +0 -4016
- package/src/chains/studionet.ts +0 -4017
- package/src/chains/testnetAsimov.ts +0 -4013
- package/src/client/client.ts +0 -139
- package/src/config/snapID.ts +0 -4
- package/src/config/transactions.ts +0 -9
- package/src/contracts/actions.ts +0 -387
- package/src/global.d.ts +0 -9
- package/src/index.ts +0 -12
- package/src/staking/actions.ts +0 -690
- package/src/staking/index.ts +0 -2
- package/src/staking/utils.ts +0 -22
- package/src/transactions/ITransactionActions.ts +0 -15
- package/src/transactions/actions.ts +0 -113
- package/src/transactions/decoders.ts +0 -275
- package/src/types/accounts.ts +0 -1
- package/src/types/calldata.ts +0 -31
- package/src/types/chains.ts +0 -22
- package/src/types/clients.ts +0 -106
- package/src/types/contracts.ts +0 -32
- package/src/types/index.ts +0 -9
- package/src/types/metamaskClientResult.ts +0 -5
- package/src/types/network.ts +0 -1
- package/src/types/snapSource.ts +0 -1
- package/src/types/staking.ts +0 -220
- package/src/types/transactions.ts +0 -312
- package/src/utils/async.ts +0 -3
- package/src/utils/jsonifier.ts +0 -119
- package/src/wallet/actions.ts +0 -10
- package/src/wallet/connect.ts +0 -67
- package/src/wallet/metamaskClient.ts +0 -50
- package/tests/client.test-d.ts +0 -67
- package/tests/client.test.ts +0 -197
- package/tests/smoke.test.ts +0 -291
- package/tests/transactions.test.ts +0 -142
- package/tsconfig.json +0 -119
- package/tsconfig.vitest-temp.json +0 -41
- package/vitest.config.ts +0 -19
- package/vitest.smoke.config.ts +0 -16
package/package.json
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genlayer-js",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.18.
|
|
4
|
+
"version": "0.18.12",
|
|
5
5
|
"description": "GenLayer JavaScript SDK",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"README.md",
|
|
11
|
+
"LICENSE"
|
|
12
|
+
],
|
|
8
13
|
"scripts": {
|
|
9
14
|
"build": "tsup src/index.ts src/chains/index.ts src/types/index.ts --format cjs,esm --dts --splitting --out-dir dist --no-treeshake",
|
|
10
15
|
"build:watch": "tsup src/index.ts src/chains/index.ts src/types/index.ts --format cjs,esm --dts --splitting --out-dir dist --no-treeshake --watch",
|
package/.eslintignore
DELETED
package/.eslintrc.cjs
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: {
|
|
4
|
-
es6: true,
|
|
5
|
-
node: true,
|
|
6
|
-
jest: true,
|
|
7
|
-
},
|
|
8
|
-
extends: ["eslint:recommended", "prettier", "plugin:import/typescript"],
|
|
9
|
-
parser: "@typescript-eslint/parser",
|
|
10
|
-
plugins: ["@typescript-eslint", "import"],
|
|
11
|
-
overrides: [
|
|
12
|
-
{
|
|
13
|
-
files: "**/*.ts",
|
|
14
|
-
parserOptions: {
|
|
15
|
-
project: ["./tsconfig.json"],
|
|
16
|
-
sourceType: "module",
|
|
17
|
-
},
|
|
18
|
-
extends: [
|
|
19
|
-
"plugin:import/errors",
|
|
20
|
-
"plugin:import/warnings",
|
|
21
|
-
"plugin:import/typescript",
|
|
22
|
-
"plugin:@typescript-eslint/recommended",
|
|
23
|
-
],
|
|
24
|
-
rules: {
|
|
25
|
-
"import/namespace": "off",
|
|
26
|
-
"@typescript-eslint/no-empty-function": "off",
|
|
27
|
-
"@typescript-eslint/no-empty-interface": "off",
|
|
28
|
-
"no-constant-condition": "off",
|
|
29
|
-
"@typescript-eslint/no-explicit-any": "off",
|
|
30
|
-
"prefer-const": "off",
|
|
31
|
-
"@typescript-eslint/no-non-null-assertion": "off",
|
|
32
|
-
"@typescript-eslint/ban-ts-ignore": "off",
|
|
33
|
-
"@typescript-eslint/no-loss-of-precision": "off",
|
|
34
|
-
"@typescript-eslint/ban-types": "off",
|
|
35
|
-
"@typescript-eslint/ban-ts-comment": "off",
|
|
36
|
-
"@typescript-eslint/no-non-null-asserted-optional-chain": "off",
|
|
37
|
-
"@typescript-eslint/no-var-requires": "off",
|
|
38
|
-
"import/export": "off",
|
|
39
|
-
"no-fallthrough": "off",
|
|
40
|
-
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
41
|
-
"@typescript-eslint/no-floating-promises": ["error"],
|
|
42
|
-
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
ignorePatterns: [
|
|
47
|
-
"**/dist/**/*", // Ignore built files.
|
|
48
|
-
"esbuild.config.js",
|
|
49
|
-
"jest.config.js",
|
|
50
|
-
"Config.js",
|
|
51
|
-
"commitLint.config.ts",
|
|
52
|
-
"vitest.config.ts",
|
|
53
|
-
],
|
|
54
|
-
settings: {
|
|
55
|
-
"import/resolver": {
|
|
56
|
-
typescript: {},
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<!-- This is a TEMPLATE, modify it to fit your needs. -->
|
|
2
|
-
|
|
3
|
-
Fixes #issue-number-here
|
|
4
|
-
|
|
5
|
-
# What
|
|
6
|
-
|
|
7
|
-
<!-- Describe the changes you made. -->
|
|
8
|
-
|
|
9
|
-
- changed thing a for b
|
|
10
|
-
- also did this other unrelated thing in my path
|
|
11
|
-
|
|
12
|
-
# Why
|
|
13
|
-
|
|
14
|
-
<!-- Why are you making these changes? This should be related to the issue created, and the value we are adding with this PR -->
|
|
15
|
-
|
|
16
|
-
- to fix a bug
|
|
17
|
-
- to add more value to the user
|
|
18
|
-
|
|
19
|
-
# Testing done
|
|
20
|
-
|
|
21
|
-
<!-- Describe the tests you ran to verify your changes. -->
|
|
22
|
-
|
|
23
|
-
- tested the new feature
|
|
24
|
-
- tested the bug fix
|
|
25
|
-
|
|
26
|
-
# Decisions made
|
|
27
|
-
|
|
28
|
-
<!-- Describe any decisions made during the implementation of this PR. This should in general be in the code, but sometimes they are more related to the issue. For example: decisions on PR workflow -->
|
|
29
|
-
|
|
30
|
-
# Checks
|
|
31
|
-
|
|
32
|
-
- [ ] I have tested this code
|
|
33
|
-
- [ ] I have reviewed my own PR
|
|
34
|
-
- [ ] I have created an issue for this PR
|
|
35
|
-
- [ ] I have set a descriptive PR title compliant with [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/)
|
|
36
|
-
|
|
37
|
-
# Reviewing tips
|
|
38
|
-
|
|
39
|
-
<!-- What can you tell the reviewer to make the review easier? -->
|
|
40
|
-
|
|
41
|
-
# User facing release notes
|
|
42
|
-
|
|
43
|
-
<!-- What should the user know about this change? Think of it going into public forums for end users to read -->
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
name: Release & Publish Package to NPM
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
push:
|
|
6
|
-
branches:
|
|
7
|
-
- main
|
|
8
|
-
pull_request:
|
|
9
|
-
branches:
|
|
10
|
-
- main
|
|
11
|
-
|
|
12
|
-
permissions:
|
|
13
|
-
contents: write
|
|
14
|
-
id-token: write
|
|
15
|
-
|
|
16
|
-
jobs:
|
|
17
|
-
release:
|
|
18
|
-
# runs-on: ubuntu-latest
|
|
19
|
-
# steps:
|
|
20
|
-
# - name: Get CI Bot Token
|
|
21
|
-
# uses: tibdex/github-app-token@v1
|
|
22
|
-
# id: ci_bot_token
|
|
23
|
-
# with:
|
|
24
|
-
# app_id: ${{ secrets.CI_BOT_APP_ID }}
|
|
25
|
-
# private_key: ${{ secrets.CI_BOT_SECRET }}
|
|
26
|
-
|
|
27
|
-
# - name: Checkout source code
|
|
28
|
-
# uses: actions/checkout@v4
|
|
29
|
-
# with:
|
|
30
|
-
# token: ${{ steps.ci_bot_token.outputs.token }}
|
|
31
|
-
# - name: Setup Node.js
|
|
32
|
-
# uses: actions/setup-node@v4
|
|
33
|
-
# with:
|
|
34
|
-
# node-version: "22"
|
|
35
|
-
# registry-url: "https://registry.npmjs.org"
|
|
36
|
-
# - name: Upgrade npm for OIDC trusted publishing
|
|
37
|
-
# run: npm install -g npm@latest
|
|
38
|
-
# - name: Configure OIDC auth
|
|
39
|
-
# run: |
|
|
40
|
-
# sed -i '/_authToken/d' "$NPM_CONFIG_USERCONFIG"
|
|
41
|
-
# unset NODE_AUTH_TOKEN
|
|
42
|
-
# - name: Install the dependencies
|
|
43
|
-
# run: npm ci
|
|
44
|
-
# - name: Initialize Git User
|
|
45
|
-
# run: |
|
|
46
|
-
# git config --global user.email "github-actions[bot]@genlayer.com"
|
|
47
|
-
# git config --global user.name "github-actions[bot]"
|
|
48
|
-
# - name: Debug OIDC exchange
|
|
49
|
-
# run: |
|
|
50
|
-
# sed -i '/_authToken/d' "$NPM_CONFIG_USERCONFIG"
|
|
51
|
-
# unset NODE_AUTH_TOKEN
|
|
52
|
-
# echo "=== npm $(npm --version) ==="
|
|
53
|
-
# echo "=== Manual OIDC token exchange ==="
|
|
54
|
-
# OIDC_TOKEN=$(curl -sS -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
|
|
55
|
-
# "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=https://registry.npmjs.org" | jq -r '.value')
|
|
56
|
-
# echo "=== OIDC token claims (decoded JWT payload) ==="
|
|
57
|
-
# echo "$OIDC_TOKEN" | cut -d. -f2 | base64 -d 2>/dev/null | jq . || echo "(decode failed)"
|
|
58
|
-
# EXCHANGE=$(curl -sS -w "\nHTTP_CODE:%{http_code}" \
|
|
59
|
-
# -X POST "https://registry.npmjs.org/-/npm/v1/oidc/token/exchange/package/genlayer-js" \
|
|
60
|
-
# -H "Authorization: Bearer $OIDC_TOKEN" \
|
|
61
|
-
# -H "Content-Type: application/json" \
|
|
62
|
-
# -d '{}')
|
|
63
|
-
# echo "Exchange response: $EXCHANGE"
|
|
64
|
-
# - name: Release
|
|
65
|
-
# run: |
|
|
66
|
-
# sed -i '/_authToken/d' "$NPM_CONFIG_USERCONFIG"
|
|
67
|
-
# unset NODE_AUTH_TOKEN
|
|
68
|
-
# npm run release
|
|
69
|
-
# env:
|
|
70
|
-
# GITHUB_TOKEN: ${{ steps.ci_bot_token.outputs.token }}
|
|
71
|
-
runs-on: ubuntu-latest
|
|
72
|
-
environment: npm
|
|
73
|
-
steps:
|
|
74
|
-
- name: Get CI Bot Token
|
|
75
|
-
uses: tibdex/github-app-token@v1
|
|
76
|
-
id: ci_bot_token
|
|
77
|
-
with:
|
|
78
|
-
app_id: ${{ secrets.CI_BOT_APP_ID }}
|
|
79
|
-
private_key: ${{ secrets.CI_BOT_SECRET }}
|
|
80
|
-
|
|
81
|
-
- name: Checkout source code
|
|
82
|
-
uses: actions/checkout@v4
|
|
83
|
-
with:
|
|
84
|
-
token: ${{ steps.ci_bot_token.outputs.token }}
|
|
85
|
-
|
|
86
|
-
- uses: actions/setup-node@v4
|
|
87
|
-
with:
|
|
88
|
-
node-version: "22"
|
|
89
|
-
registry-url: "https://registry.npmjs.org"
|
|
90
|
-
|
|
91
|
-
- run: npm install -g npm@latest
|
|
92
|
-
|
|
93
|
-
- run: npm ci
|
|
94
|
-
|
|
95
|
-
- name: Release
|
|
96
|
-
run: npm run release
|
|
97
|
-
env:
|
|
98
|
-
GITHUB_TOKEN: ${{ steps.ci_bot_token.outputs.token }}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
name: Smoke Tests
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
schedule:
|
|
6
|
-
- cron: '0 8 * * *'
|
|
7
|
-
workflow_dispatch:
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
smoke:
|
|
11
|
-
name: Testnet Smoke Tests
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
timeout-minutes: 5
|
|
14
|
-
continue-on-error: true
|
|
15
|
-
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v4
|
|
18
|
-
|
|
19
|
-
- uses: actions/setup-node@v4
|
|
20
|
-
with:
|
|
21
|
-
node-version: 22
|
|
22
|
-
cache: npm
|
|
23
|
-
|
|
24
|
-
- run: npm ci
|
|
25
|
-
|
|
26
|
-
- name: Run smoke tests
|
|
27
|
-
run: npm run test:smoke
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
name: Run Tests
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
pull_request:
|
|
8
|
-
branches:
|
|
9
|
-
- main
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
test:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
|
|
15
|
-
steps:
|
|
16
|
-
- name: Checkout code
|
|
17
|
-
uses: actions/checkout@v4
|
|
18
|
-
|
|
19
|
-
- name: Setup Node.js
|
|
20
|
-
uses: actions/setup-node@v4
|
|
21
|
-
with:
|
|
22
|
-
node-version: 22
|
|
23
|
-
cache: npm
|
|
24
|
-
|
|
25
|
-
- name: Install dependencies
|
|
26
|
-
run: npm ci
|
|
27
|
-
|
|
28
|
-
- name: Run tests
|
|
29
|
-
run: npm test
|
|
30
|
-
timeout-minutes: 5
|
|
31
|
-
|
|
32
|
-
- name: Run linting
|
|
33
|
-
run: npm run lint
|
package/.prettierignore
DELETED
package/.prettierrc
DELETED
package/.release-it.json
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"git": {
|
|
3
|
-
"commitMessage": "Release v${version} [skip ci]",
|
|
4
|
-
"tagName": "v${version}",
|
|
5
|
-
"requireCleanWorkingDir": false,
|
|
6
|
-
"requireUpstream": false,
|
|
7
|
-
"requireCommits": false,
|
|
8
|
-
"push": true
|
|
9
|
-
},
|
|
10
|
-
"github": {
|
|
11
|
-
"release": true,
|
|
12
|
-
"tokenRef": "GITHUB_TOKEN"
|
|
13
|
-
},
|
|
14
|
-
"npm": {
|
|
15
|
-
"publish": true,
|
|
16
|
-
"publishArgs": ["--provenance --access public"],
|
|
17
|
-
"skipChecks": true
|
|
18
|
-
},
|
|
19
|
-
"plugins": {
|
|
20
|
-
"@release-it/conventional-changelog": {
|
|
21
|
-
"preset": "conventionalcommits",
|
|
22
|
-
"infile": "CHANGELOG.md",
|
|
23
|
-
"types": [
|
|
24
|
-
{
|
|
25
|
-
"type": "feat",
|
|
26
|
-
"section": "Features"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"type": "fix",
|
|
30
|
-
"section": "Bug Fixes"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"type": "chore",
|
|
34
|
-
"section": "Improvement Tasks"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "ci",
|
|
38
|
-
"section": "Continuous Integration"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"type": "docs",
|
|
42
|
-
"section": "Documentation"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"type": "style",
|
|
46
|
-
"section": "Styles"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"type": "refactor",
|
|
50
|
-
"section": "Refactor Tasks"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"type": "perf",
|
|
54
|
-
"section": "Performance Improvements"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"type": "test",
|
|
58
|
-
"section": "Testing"
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"hooks": {
|
|
64
|
-
"after:bump": "npm run build"
|
|
65
|
-
}
|
|
66
|
-
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
## 0.18.11 (2026-02-16)
|
|
4
|
-
|
|
5
|
-
## 0.18.10 (2026-02-07)
|
|
6
|
-
|
|
7
|
-
## 0.18.9 (2025-12-12)
|
|
8
|
-
|
|
9
|
-
## 0.18.8 (2025-12-05)
|
|
10
|
-
|
|
11
|
-
## 0.18.7 (2025-12-04)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
### Bug Fixes
|
|
15
|
-
|
|
16
|
-
* Decodes contract error messages ([#127](https://github.com/genlayerlabs/genlayer-js/issues/127)) ([0a82545](https://github.com/genlayerlabs/genlayer-js/commit/0a82545e994144229950ad2d156c20233102a8c4))
|
|
17
|
-
|
|
18
|
-
## 0.18.6 (2025-12-04)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### Features
|
|
22
|
-
|
|
23
|
-
* Fetch epoch zero minimum duration ([#126](https://github.com/genlayerlabs/genlayer-js/issues/126)) ([89c2261](https://github.com/genlayerlabs/genlayer-js/commit/89c22611d6bf70e83d02f5922ba3e18d912abb2d))
|
|
24
|
-
|
|
25
|
-
## 0.18.5 (2025-12-03)
|
|
26
|
-
|
|
27
|
-
## 0.18.4 (2025-11-11)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
### Bug Fixes
|
|
31
|
-
|
|
32
|
-
* differentiate chains using the studio from testnet ([#122](https://github.com/genlayerlabs/genlayer-js/issues/122)) ([1fa8d4c](https://github.com/genlayerlabs/genlayer-js/commit/1fa8d4cd0856d9eb437902f330feb1de4782d112))
|
|
33
|
-
|
|
34
|
-
## 0.18.3 (2025-11-03)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
### Bug Fixes
|
|
38
|
-
|
|
39
|
-
* default to zero address for read operations when account not provided ([#121](https://github.com/genlayerlabs/genlayer-js/issues/121)) ([6a1b47a](https://github.com/genlayerlabs/genlayer-js/commit/6a1b47aeafaeb807d5219abbb88e10041c03030e))
|
|
40
|
-
|
|
41
|
-
## 0.18.2 (2025-09-18)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
### Bug Fixes
|
|
45
|
-
|
|
46
|
-
* **transactions:** handle all DECIDED states in waitForTransactionReceipt ([#116](https://github.com/genlayerlabs/genlayer-js/issues/116)) ([78433d7](https://github.com/genlayerlabs/genlayer-js/commit/78433d7224298ab418ca16a87de497149b66b5f7))
|
|
47
|
-
|
|
48
|
-
## 0.18.1 (2025-09-11)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
### Bug Fixes
|
|
52
|
-
|
|
53
|
-
* replace hardcoded gas 21000 ([#115](https://github.com/genlayerlabs/genlayer-js/issues/115)) ([8eacd5d](https://github.com/genlayerlabs/genlayer-js/commit/8eacd5dbba9ae85f0232ec525076582ea8b6b045))
|
|
54
|
-
|
|
55
|
-
## 0.18.0 (2025-09-04)
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### Features
|
|
59
|
-
|
|
60
|
-
* format in genlayer js to convert to an object ([#107](https://github.com/genlayerlabs/genlayer-js/issues/107)) ([3ca4076](https://github.com/genlayerlabs/genlayer-js/commit/3ca40765bc03e8d7174c8e337e6104ccea455e5a))
|
|
61
|
-
|
|
62
|
-
## 0.17.1 (2025-09-03)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
### Bug Fixes
|
|
66
|
-
|
|
67
|
-
* returning the whole data when an error occurs ([#111](https://github.com/genlayerlabs/genlayer-js/issues/111)) ([bebb025](https://github.com/genlayerlabs/genlayer-js/commit/bebb025a0f07d4ed05783e1a77abe76979fc4ac0))
|
|
68
|
-
|
|
69
|
-
## 0.17.0 (2025-09-03)
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
### Features
|
|
73
|
-
|
|
74
|
-
* allow gen_call write through `simulateWriteContract` ([#112](https://github.com/genlayerlabs/genlayer-js/issues/112)) ([734c0e6](https://github.com/genlayerlabs/genlayer-js/commit/734c0e61d9ddd13678f424ca6bd754ad1f4df3bb))
|
|
75
|
-
|
|
76
|
-
## 0.16.0 (2025-09-03)
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
### Features
|
|
80
|
-
|
|
81
|
-
* **contracts,types:** add getContractCode via gen_getContractCode RPC ([#109](https://github.com/genlayerlabs/genlayer-js/issues/109)) ([3fcc934](https://github.com/genlayerlabs/genlayer-js/commit/3fcc934a73b312747d53831f63d8c2e903534b3f))
|
|
82
|
-
|
|
83
|
-
## 0.15.1 (2025-09-02)
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
### Bug Fixes
|
|
87
|
-
|
|
88
|
-
* **client:** disable viem transport retries (retryCount=0) to avoid duplicate requests ([#110](https://github.com/genlayerlabs/genlayer-js/issues/110)) ([dc2d623](https://github.com/genlayerlabs/genlayer-js/commit/dc2d623bb0a2bf96416e1590ddbcbf78adf9f9a7))
|
|
89
|
-
|
|
90
|
-
## 0.15.0 (2025-08-18)
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
### Features
|
|
94
|
-
|
|
95
|
-
* add custom provider support for wallet framework integration ([#105](https://github.com/genlayerlabs/genlayer-js/issues/105)) ([9fdaf6f](https://github.com/genlayerlabs/genlayer-js/commit/9fdaf6f7b52c58cabe8aee48e31317757be7637b))
|
|
96
|
-
|
|
97
|
-
## 0.14.2 (2025-08-14)
|
|
98
|
-
|
|
99
|
-
## 0.14.1 (2025-08-13)
|
|
100
|
-
|
|
101
|
-
## 0.14.0 (2025-07-30)
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
### Features
|
|
105
|
-
|
|
106
|
-
* expose encode and decode methods ([#102](https://github.com/genlayerlabs/genlayer-js/issues/102)) ([c9e0719](https://github.com/genlayerlabs/genlayer-js/commit/c9e07191c52cd4fecc9295172a7087ade896ccd7))
|
|
107
|
-
|
|
108
|
-
## 0.13.0 (2025-07-23)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
### Features
|
|
112
|
-
|
|
113
|
-
* simplify transaction receipt ([#101](https://github.com/genlayerlabs/genlayer-js/issues/101)) ([be78ac6](https://github.com/genlayerlabs/genlayer-js/commit/be78ac6b5871a4d61349bacf87b5fb0da61b1a90))
|
|
114
|
-
|
|
115
|
-
## 0.12.1 (2025-07-21)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
### Bug Fixes
|
|
119
|
-
|
|
120
|
-
* default transaction hash variant ([#100](https://github.com/genlayerlabs/genlayer-js/issues/100)) ([d8926b1](https://github.com/genlayerlabs/genlayer-js/commit/d8926b16f8983df805da713091297a5d353e9332))
|
|
121
|
-
|
|
122
|
-
## 0.12.0 (2025-07-15)
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
### Features
|
|
126
|
-
|
|
127
|
-
* add payable to ContractMethod ([#96](https://github.com/genlayerlabs/genlayer-js/issues/96)) ([011a749](https://github.com/genlayerlabs/genlayer-js/commit/011a7498ffce22a34d20d9fb88a72e7c56badaf9))
|
|
128
|
-
|
|
129
|
-
## 0.11.2 (2025-07-10)
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
### Bug Fixes
|
|
133
|
-
|
|
134
|
-
* handle new leader receipt and decode eq outputs ([#98](https://github.com/genlayerlabs/genlayer-js/issues/98)) ([fadb53d](https://github.com/genlayerlabs/genlayer-js/commit/fadb53d5f8946074a80047003323a0bd3d4f8108))
|
|
135
|
-
|
|
136
|
-
## 0.11.1 (2025-07-09)
|
|
137
|
-
|
|
138
|
-
## 0.11.0 (2025-05-28)
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
### Features
|
|
142
|
-
|
|
143
|
-
* also export studionet as genlayer chain ([#87](https://github.com/yeagerai/genlayer-js/issues/87)) ([a686581](https://github.com/yeagerai/genlayer-js/commit/a686581203d5a62db40526b66498f952ed2f7dcd))
|
|
144
|
-
|
|
145
|
-
## 0.10.0 (2025-05-22)
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
### Features
|
|
149
|
-
|
|
150
|
-
* adjust submitAppeal call to consensus smart contract ([#80](https://github.com/yeagerai/genlayer-js/issues/80)) ([9e4a88e](https://github.com/yeagerai/genlayer-js/commit/9e4a88ed9a094af067302f8c4aa170c7129bf53d))
|
|
151
|
-
|
|
152
|
-
## 0.9.5 (2025-05-21)
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
### Bug Fixes
|
|
156
|
-
|
|
157
|
-
* update readContract with TransactionHashVariant ([#86](https://github.com/yeagerai/genlayer-js/issues/86)) ([7cbeb04](https://github.com/yeagerai/genlayer-js/commit/7cbeb040b55c4bc3acf173bdae51da51deef7a83))
|
|
158
|
-
|
|
159
|
-
## 0.9.4 (2025-05-20)
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
### Bug Fixes
|
|
163
|
-
|
|
164
|
-
* remove DXP-298 code ([#85](https://github.com/yeagerai/genlayer-js/issues/85)) ([3db4cff](https://github.com/yeagerai/genlayer-js/commit/3db4cffedd1a53396d390883dcdee5d26f775d72))
|
|
165
|
-
|
|
166
|
-
## 0.9.3 (2025-05-14)
|
|
167
|
-
|
|
168
|
-
## 0.9.2 (2025-05-14)
|
|
169
|
-
|
|
170
|
-
## 0.9.1 (2025-05-09)
|
|
171
|
-
|
|
172
|
-
## 0.9.0 (2025-03-12)
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
### Features
|
|
176
|
-
|
|
177
|
-
* decoding params ([#77](https://github.com/yeagerai/genlayer-js/issues/77)) ([ada41ce](https://github.com/yeagerai/genlayer-js/commit/ada41ce375eaf6a94886bc50c13c3f0df247d7c2))
|
|
178
|
-
|
|
179
|
-
## 0.8.0 (2025-03-12)
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
### Features
|
|
183
|
-
|
|
184
|
-
* overwrite defaultConsensusMaxRotations ([#75](https://github.com/yeagerai/genlayer-js/issues/75)) ([8d64b42](https://github.com/yeagerai/genlayer-js/commit/8d64b428d8232394cfe1ac5b56edba7c1837d0e5))
|
|
185
|
-
|
|
186
|
-
## 0.7.0 (2025-03-05)
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
### Features
|
|
190
|
-
|
|
191
|
-
* connect ([#58](https://github.com/yeagerai/genlayer-js/issues/58)) ([7e396c7](https://github.com/yeagerai/genlayer-js/commit/7e396c765536ef0ec1a81c259c113587dc6de8ee))
|
|
192
|
-
|
|
193
|
-
## 0.6.4 (2025-02-04)
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
### Bug Fixes
|
|
197
|
-
|
|
198
|
-
* override chain endpoint if extra config provided ([#68](https://github.com/yeagerai/genlayer-js/issues/68)) ([215185a](https://github.com/yeagerai/genlayer-js/commit/215185a4f96d44a60ea1ad4b55c71bd0bdc489f6))
|
|
199
|
-
|
|
200
|
-
## 0.6.3 (2025-01-28)
|
|
201
|
-
|
|
202
|
-
## 0.6.2 (2025-01-20)
|
|
203
|
-
|
|
204
|
-
## 0.6.1 (2025-01-14)
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
### Bug Fixes
|
|
208
|
-
|
|
209
|
-
* refactor abi to prevent confusion ([#51](https://github.com/yeagerai/genlayer-js/issues/51)) ([6ccb09e](https://github.com/yeagerai/genlayer-js/commit/6ccb09eba33eaedb147a0dde5112f54d56dd1e09))
|
|
210
|
-
|
|
211
|
-
## 0.6.0 (2025-01-09)
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
### Features
|
|
215
|
-
|
|
216
|
-
* add stateStatus in readContract ([#50](https://github.com/yeagerai/genlayer-js/issues/50)) ([a9bcf8d](https://github.com/yeagerai/genlayer-js/commit/a9bcf8d83890448b85282ceb0c33060a19ea4e9a))
|
|
217
|
-
|
|
218
|
-
## 0.5.0 (2025-01-08)
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
### Features
|
|
222
|
-
|
|
223
|
-
* add customtransport to use both wallet and local private keys ([#48](https://github.com/yeagerai/genlayer-js/issues/48)) ([905a123](https://github.com/yeagerai/genlayer-js/commit/905a12358c154e6ae865773b809952c8cc9c75b9))
|
|
224
|
-
|
|
225
|
-
## 0.4.8 (2024-12-18)
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
### Bug Fixes
|
|
229
|
-
|
|
230
|
-
* added GenVM decoder to readContract method ([#42](https://github.com/yeagerai/genlayer-js/issues/42)) ([096d36d](https://github.com/yeagerai/genlayer-js/commit/096d36de06d3f4d341f6532ddead694c1882651d))
|
|
231
|
-
|
|
232
|
-
## 0.4.7 (2024-12-03)
|
|
233
|
-
|
|
234
|
-
## 0.4.6 (2024-12-02)
|
|
235
|
-
|
|
236
|
-
## 0.4.5 (2024-12-02)
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
### Bug Fixes
|
|
240
|
-
|
|
241
|
-
* set leaderOnly parameter camelCase ([#35](https://github.com/yeagerai/genlayer-js/issues/35)) ([a6a4cae](https://github.com/yeagerai/genlayer-js/commit/a6a4caed8ab2784c2de202e34429c68eeeb0482d))
|
|
242
|
-
|
|
243
|
-
## 0.4.4 (2024-11-28)
|
|
244
|
-
|
|
245
|
-
## 0.4.3 (2024-11-26)
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
### Bug Fixes
|
|
249
|
-
|
|
250
|
-
* readContract return type ([#32](https://github.com/yeagerai/genlayer-js/issues/32)) ([8222453](https://github.com/yeagerai/genlayer-js/commit/82224530cf5c28b17b43943fad92cd5782ecf1be))
|
|
251
|
-
|
|
252
|
-
## 0.4.2 (2024-11-22)
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
### Bug Fixes
|
|
256
|
-
|
|
257
|
-
* types ([#29](https://github.com/yeagerai/genlayer-js/issues/29)) ([d8f16fd](https://github.com/yeagerai/genlayer-js/commit/d8f16fdb739e32e6eea52a38e23d96a4433728ad))
|
|
258
|
-
|
|
259
|
-
## 0.4.1 (2024-11-20)
|
|
260
|
-
|
|
261
|
-
## 0.4.0 (2024-11-14)
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
### Features
|
|
265
|
-
|
|
266
|
-
* add contract schema methods ([#26](https://github.com/yeagerai/genlayer-js/issues/26)) ([7dc726f](https://github.com/yeagerai/genlayer-js/commit/7dc726fa4fc8769feaec07a50149956d7c2a2035))
|
|
267
|
-
|
|
268
|
-
## 0.3.4 (2024-11-14)
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
### Bug Fixes
|
|
272
|
-
|
|
273
|
-
* allow accounts to be nullable in `readContract` and add `sim_getTransactionsForAddress` method ([#16](https://github.com/yeagerai/genlayer-js/issues/16)) ([ea4bb6c](https://github.com/yeagerai/genlayer-js/commit/ea4bb6cb53809f6c17a3794ed35aede979bd89e5))
|
|
274
|
-
|
|
275
|
-
## 0.3.3 (2024-11-11)
|
|
276
|
-
|
|
277
|
-
## 0.3.2 (2024-11-06)
|
|
278
|
-
|
|
279
|
-
## 0.3.1 (2024-10-28)
|
|
280
|
-
|
|
281
|
-
## 0.3.0 (2024-10-25)
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
### Features
|
|
285
|
-
|
|
286
|
-
* add deploy contract action ([#17](https://github.com/yeagerai/genlayer-js/issues/17)) ([23d5bc2](https://github.com/yeagerai/genlayer-js/commit/23d5bc28fb58c73d64b1fd629185a0565d84cb91))
|
|
287
|
-
|
|
288
|
-
## 0.2.0 (2024-10-17)
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
### Features
|
|
292
|
-
|
|
293
|
-
* implement genvm calldata ([#14](https://github.com/yeagerai/genlayer-js/issues/14)) ([d9a1abd](https://github.com/yeagerai/genlayer-js/commit/d9a1abdfb5eef13e5c77433db546953369087e04))
|
|
294
|
-
|
|
295
|
-
## 0.1.2 (2024-10-03)
|
|
296
|
-
|
|
297
|
-
## 0.1.1 (2024-10-03)
|
|
298
|
-
|
|
299
|
-
## 0.1.0 (2024-10-01)
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
### Features
|
|
303
|
-
|
|
304
|
-
* expose private key generation and extended account creation from a previous private key ([#10](https://github.com/yeagerai/genlayer-js/issues/10)) ([d43940b](https://github.com/yeagerai/genlayer-js/commit/d43940b7237450a0893823b18b4d0ed2e3e42790))
|
|
305
|
-
|
|
306
|
-
## 0.0.5 (2024-09-30)
|