Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions frontend/packages/ez-transactions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gear-ez-transactions",
"version": "0.0.6",
"version": "0.0.7",
"type": "module",
"scripts": {
"start": "npx vite dev -p 6006",
Expand All @@ -9,10 +9,11 @@
"preview": "npx vite preview"
},
"peerDependencies": {
"@gear-js/api": "0.44.1",
"@gear-js/react-hooks": "0.18.3",
"@gear-js/api": "0.44.2",
"@gear-js/react-hooks": "0.19.1",
"react": "19.0.0",
"react-dom": "19.0.0"
"react-dom": "19.0.0",
"sails-js": "0.5.1"
},
"dependencies": {
"@gear-js/vara-ui": "0.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { IVoucherDetails } from '@gear-js/api';
import { KeyringPair$Json, KeyringPair } from '@polkadot/keyring/types';
import { TypeRegistry } from '@polkadot/types';
import { HexString } from '@polkadot/util/types';
import { TransactionBuilder } from 'sails-js';
import { TransactionBuilder, QueryBuilder } from 'sails-js';

import { UseCreateSessionReturn } from '../hooks';

Expand Down Expand Up @@ -77,6 +77,7 @@ type ProgramSession = {
key: ActorId;
expires: number | string | bigint;
allowed_actions: string[];
expires_at_block: number;
};

type SignatureData = {
Expand All @@ -88,7 +89,7 @@ type SignatureData = {
type BaseProgram =
| {
session: {
sessionForTheAccount: (account: ActorId, ...arg2: BaseProgramQueryProps) => Promise<ProgramSession | null>;
sessionForTheAccount: (account: ActorId, ...arg2: BaseProgramQueryProps) => QueryBuilder<ProgramSession | null>;
createSession: (signatureData: SignatureData, signature: `0x${string}` | null) => TransactionBuilder<null>;
deleteSessionFromAccount: () => TransactionBuilder<null>;
subscribeToSessionCreatedEvent: (callback: (data: null) => void | Promise<void>) => Promise<() => void>;
Expand Down
4 changes: 2 additions & 2 deletions frontend/packages/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"preview": "npx vite preview"
},
"peerDependencies": {
"@gear-js/api": "0.44.1",
"@gear-js/react-hooks": "0.18.3",
"@gear-js/api": "0.44.2",
"@gear-js/react-hooks": "0.19.1",
"@polkadot/types": "16.4.6",
"@polkadot/util": "13.5.2",
"react": "19.0.0",
Expand Down
4 changes: 2 additions & 2 deletions frontend/packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"preview": "npx vite preview"
},
"peerDependencies": {
"@gear-js/api": "0.44.1",
"@gear-js/react-hooks": "0.18.3",
"@gear-js/api": "0.44.2",
"@gear-js/react-hooks": "0.19.1",
"@tanstack/react-query": "5.81.5",
"react": "19.0.0",
"react-dom": "19.0.0"
Expand Down
6 changes: 3 additions & 3 deletions frontend/templates/create-gear-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"@gear-js/api": "0.44.1",
"@gear-js/react-hooks": "0.18.3",
"@gear-js/api": "0.44.2",
"@gear-js/react-hooks": "0.19.1",
"@gear-js/ui": "0.7.0",
"@gear-js/wallet-connect": "0.4.1",
"@polkadot/api": "16.4.6",
Expand All @@ -21,7 +21,7 @@
"react": "19.0.0",
"react-dom": "19.0.0",
"react-router-dom": "6.28.2",
"sails-js": "0.4.2",
"sails-js": "0.5.1",
"sass": "1.83.4"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions frontend/templates/create-vara-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"@gear-js/api": "0.44.1",
"@gear-js/react-hooks": "0.18.3",
"@gear-js/api": "0.44.2",
"@gear-js/react-hooks": "0.19.1",
"@gear-js/vara-ui": "0.3.1",
"@gear-js/wallet-connect": "0.4.1",
"@polkadot/api": "16.4.6",
Expand All @@ -21,7 +21,7 @@
"react": "19.0.0",
"react-dom": "19.0.0",
"react-router-dom": "6.28.2",
"sails-js": "0.4.2",
"sails-js": "0.5.1",
"sass": "1.83.4"
},
"devDependencies": {
Expand Down
Loading
Loading