Skip to content

Commit

Permalink
Chore: Upgraded @dfinity/xxx dependencies to latest versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoferlund committed Mar 7, 2024
1 parent 5c3de3a commit a4b6088
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 59 deletions.
106 changes: 53 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/ic-use-siwe-identity/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [0.0.8] - 2024-03-07

### Changed
- Upgraded @dfinity/xxx dependencies to latest versions.

## [0.0.7] - 2021-10-31

### Added
Expand Down
8 changes: 4 additions & 4 deletions packages/ic-use-siwe-identity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ic-use-siwe-identity",
"version": "0.0.7",
"version": "0.0.8",
"description": "React hook and context provider for easy frontend integration with SIWE enabled Internet Computer canisters.",
"author": "Kristofer Lund <[email protected]>",
"repository": {
Expand Down Expand Up @@ -32,9 +32,9 @@
"dev:esbuild": "npm run build --watch"
},
"dependencies": {
"@dfinity/agent": "^=0.20.0",
"@dfinity/candid": "^=0.20.0",
"@dfinity/identity": "^=0.20.0"
"@dfinity/agent": "^1.0.1",
"@dfinity/candid": "^1.0.1",
"@dfinity/identity": "^1.0.1"
},
"peerDependencies": {
"react": ">=18.0.0",
Expand Down
9 changes: 7 additions & 2 deletions packages/ic-use-siwe-identity/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
/* eslint-disable react-refresh/only-export-components */
import { createContext, useContext } from "react";
import {
createContext,
useContext,
type ReactNode,
useEffect,
useState,
} from "react";
import { type ActorConfig, type HttpAgentOptions } from "@dfinity/agent";
import {
Delegation,
Expand All @@ -8,7 +14,6 @@ import {
Ed25519KeyIdentity,
type SignedDelegation,
} from "@dfinity/identity";
import { type ReactNode, useEffect, useState } from "react";
import type { SiweIdentityContextType } from "./context.type";
import { useAccount, useSignMessage } from "wagmi";
import { IDL } from "@dfinity/candid";
Expand Down

0 comments on commit a4b6088

Please sign in to comment.