Skip to content

Commit 1a6af76

Browse files
committed
reverted import, increased node version to 22
1 parent 500e522 commit 1a6af76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup Node.js
4444
uses: actions/setup-node@v4
4545
with:
46-
node-version: '20'
46+
node-version: '22'
4747
cache: 'npm'
4848
cache-dependency-path: examples/package.json
4949

examples/authorize_and_store_papi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import assert from "assert";
22
import { createClient } from 'polkadot-api';
3-
import { getWsProvider } from 'polkadot-api/ws-provider/node';
3+
import { getWsProvider } from 'polkadot-api/ws-provider';
44
import { cryptoWaitReady } from '@polkadot/util-crypto';
55
import { authorizeAccount, fetchCid, store} from './api.js';
66
import { setupKeyringAndSigners, cidFromBytes } from './common.js';

0 commit comments

Comments
 (0)