Bump esbuild and @dfinity/identity in /archive/motoko/ios-notifications/dapp-demo
Removes esbuild. It's no longer used after updating ancestor dependency @dfinity/identity. These dependencies need to be updated together.
Removes esbuild
Updates @dfinity/identity from 0.14.0 to 2.3.0
Release notes
Sourced from @dfinity/identity's releases.
Release 2.3.0
What's Changed
FetchRootKey
- refactors logic so that fetchrootkey is awaited before the first async call is made if
shouldFetchRootKeyis set. This resolves potential race conditions during local developmentReadState Expiry Rollback
- rolls back an intermittent bug introduced in v2.1.3, where a re-used readstate request would be sent with a mismatching ingress_expiry for a re-used signature. Should reduce the frequency of Invalid Signature errors. An improved strategy will be released in a future update
SyncTime
- HttpAgent now uses an anonymous identity for syncTime calls, which the replica will allow to have an invalid ingress_expiry provided. This (at last) allows clients with clocks diverging by >5 minutes to sync their time with the replica and behave normally
Enhanced Errors
- HttpAgent Errors now include more useful information when thrown, including the signature, the request id, the public key, and a stack trace. The agent's ObservableLog utility is now also exported, and can be used for testing or independently. Reminder that the log exists! You can subscribe to events in the agent, and it is helpful for debugging
- chore: bumps .nvmrc by
@krpeacockin dfinity/agent-js#962- feat: support allow list for canister logs in agent-js by
@vincent-dfinityin dfinity/agent-js#965- chore: update the document. by
@vincent-dfinityin dfinity/agent-js#964- chore: npm audit fixes by
@krpeacockin dfinity/agent-js#967- feat: fetch root key before making calls by
@krpeacockin dfinity/agent-js#966- feat: enhanced details in agent call errors by
@krpeacockin dfinity/agent-js#968- feat: HttpAgent uses anonymous identity to make syncTime call by
@krpeacockin dfinity/agent-js#969- feat: enhanced details in agent query and read_state errors by
@krpeacockin dfinity/agent-js#970- fix: reverts read_state polling expiry changes by
@krpeacockin dfinity/agent-js#971New Contributors
@vincent-dfinitymade their first contribution in dfinity/agent-js#965Full Changelog: https://github.com/dfinity/agent-js/compare/v2.2.0...v2.3.0
Release 2.2.0
What's Changed
Minor stability and documentation changes.
Shouldn't lead to any issues when updating, but tagged as a minor version due to changing the return types in
pollForResponsefromanytoundefinedof #958 .Last release planned for 2024 - see you all in the new year!
- feat: adds management canister support for canister snapshots by
@krpeacockin dfinity/agent-js#917- chore: removes message warning in auth-client by
@krpeacockin dfinity/agent-js#948- chore: update license file by
@sesi200in dfinity/agent-js#949- chore: update typo in README.md by
@dfx-jsonin dfinity/agent-js#947
... (truncated)
Changelog
Sourced from @dfinity/identity's changelog.
[2.3.0] - 2025-02-07
Added
- shouldFetchRootKey option added to
HttpAgentconstructor- ci: adds BOT_APPROVED_FILES config
Changed
- feat: HttpAgent uses anonymous identity to make syncTime call, which can allow readState calls to work beyond 5 minutes
- chore: bumps .nvmrc and nodejs version in CI to 22
- HttpAgent now awaits fetching rootkey before making network calls if
shouldFetchRootKeyis set- chore: npm audit fixes
- feat: enhanced details in agent call, query, and read_state errors
- error now includes hex encoded response, requestId, sender_pubkey, and sender_sig in addition to message for improved debugging process
[2.2.1] - 2025-02-07
Changed
- fix: reverts read_state polling expiry changes due to mismatched signature introduced in 2.1.3. Polling will re-use the original request as before, up to the point where the request expires
[2.2.0] - 2024-12-12
Added
- fix:
target_canisteris used only forinstall_chunked_codeof management canister, complying with internet computer specification- feat: Add support for effective target canister ID in management canister calls.
Changed
- chore: pins nanoid dev dependency version to override warning
- chore: Removes warning that users found unhelpful, when a message originates from other sources than the identity provider in
AuthClientduring authentication.- chore: fixes typo in DelegationIdentity jsdoc comment
- chore: Removes warning that users found unhelpful, when a message originates from other sources than the identity provider in
AuthClientduring authentication.- fix: Make pollForResponse typesafe to avoid exceptions from unknown requests
[2.1.3] - 2024-10-23
Added
feat: allow for setting HttpAgent ingress expiry using
ingressExpiryInMinutesoptionfeat: improved assertion options for agent errors using
prototype,name, andinstanceofChanged
- test: automatically deploys trap canister if it doesn't exist yet during e2e
- fix: handle v3 traps correctly, pulling the reject_code and message from the certificate in the error response like v2. Example trap error message:
... (truncated)
Commits
2e9efe2chore: release 2.3.0 (#972)6b65198chore: release 2.2.0 (#961)d59a8b6fix: JsDoc typo in DelegationIdentity class'sfromDelegationmethod (#951)2e8d15abuild: fix@peculiar/webcryptois no peer dependencies but dev dependencies (...54fe070fix: Make pollForResponse typesafe to avoid exceptions from unknown requests ...b4ca1ccchore: update license file (#949)6ef8afbchore: release 2.1.3 (#946)a57d8a3chore: release 2.1.2 (#936)21cf470chore: release 2.1.1 (#929)cad8bdechore: release 2.1.0 (#927)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.