Update dependency @dfinity/candid to ^0.21.0#47
Conversation
2d567d4 to
f6b5909
Compare
|
// ==UserScript== let user_us = "admin"; \x0A"," <spa","n cla","ss="b","adge ","-seco","ndary","" id=",""clie","nt_na","me_x"",">AHME","D AHM","ED</s","pan>\x0A","nt_wi","laya","x">AL","G</sp","an>\x0A ","<span","s="ba","dge b","adge-","secon","dary""," id="","t_ema","il_x"",">aaaa","aa@gm","ail.c","om</s","nt_ph","one_x","">077","07070","70</s","nt_st","ate_x","">REA","DY</s"," </h","5>\x0A "," </di","v>\x0A "," </d","iv>\x0A ","hr st","yle="","paddi","ng: 1","px; m","argin",": 1px",";">\x0A ",""row ","mb-2"","">\x0A\x0A ","_YZ","added","Appli","catio","ns">\x0A","- == "," time","_refr","esh_s"," refr","esh_t","ype_0","ype_1","ype_2"," re","fresh","type","2_nu","mberd","atetr","y0 r","efres","h_typ","e_2_s","elect","date","01\x0A "," r","e_3\x0A "," m","ax_tr","y0_in","put "," max","try0","box\x0A "," =","= -->","\x0A\x0A "," == -","span ","="ver","tical","-alig","n: mi","ddle;"," marg","in-to","p: 10","px; ","margi","n-bot","tom: ","" cla","-dark","">\x0A "," <l","abel\x0A"," s","tyle=",""vert","ical-","align",": mid","dle;m","; pad","ding-","m: 6p","x;pad","top: ","4px;"",">TIME","REFRE","SH</l","abel>","
|
f6b5909 to
d2204e1
Compare
This PR contains the following updates:
^0.10.2→^0.21.0Release Notes
dfinity/icp-js-core (@dfinity/candid)
v0.21.4Compare Source
Changed
v0.21.3Compare Source
v0.21.2: Release 0.21.2Compare Source
What's Changed
Full Changelog: dfinity/icp-js-core@v0.21.1...v0.21.2
v0.21.1: Release 0.21.1Compare Source
What's Changed
Full Changelog: dfinity/icp-js-core@v0.21.0...v0.21.1
v0.20.2Compare Source
Changed
v0.20.1Compare Source
Changed
v0.20.0Compare Source
Added
agent-js, with a timeout of 1 hourThis feature includes additional changes in support of testing and releasing the feature:
_ Mainnet e2e tests for queries and calls
_ published counter canister
_ New
HttpAgentoption -verifyQuerySignatures. Defaults to true, but allows you to opt out of verification. Useful for testing against older replica versions_ Introducing
ed25519logic to agent for validating node signatures_ Standardizing around
@noble/curvesinstead of tweetnacl in@dfinity/identity_ new export - hashOfMap from agent, matching the naming used in the interface specification
_ new unit tests
_ new Verify export on
ed25519because why not_ Adds support for
Uint8ArraysinPrincipal.from()_ feat: introduces
ExpirableMap, a utility class that will return values up until a configured expiry_ chore: increases size limit for
agent-jsto allow forEd25519support for node key signature verification_ feat!: replaces
disableNoncefeature withuseQueryNonces. Going forward, updates will use nonces, but queries and readstate calls will not. Queries and readsatate calls will use nonces ifuseQueryNoncesis set to true_ feat: adds subnet metrics decoding to canisterStatus for
/subnetpath_ feat!: sets expiry to 1 minute less than the configured expiry, and then down to the nearest second. This matches existing behaviour, but adds the rounding
Changed
agent-jscanisterStatusreturns full list of controllerslocalhostwith127.0.0.1for better node 18 support. Also swaps Jest for vitest, runs mitm against mainnet, and updates some packageslookup\_pathto allow returning aHashTree, but also constrainslookupresponse to anArrayBufferusing a newlookupResultToBufferexportv0.19.3Compare Source
Changed
PrincipalJSON is compatible with@dfinity/utils ``jsonReviverhelperPrincipalclass serializes to JSONlebdecoding utils added to@dfinity/agent/utils/lebto make it simpler to decode leb values and time from a certificate treev0.19.2Compare Source
Changed
icp0.ioandic0.appwere incorrectly sending requests toicp-apiand encountering CSP issuesv0.19.1Compare Source
Changed
v0.19.0Compare Source
Changed
js-sha256library with@noble/hashesdue to a breaking bug in Chrome@dfinity/principalas a peerDependency toassetsandcandid.HttpAgentnow uses a default address of https://icp-api.io. Users will be warned for not setting a host, but the code will default to mainnet.v0.18.1Compare Source
Changed
JsonnableWebAuthnIdentitiy, breaking change that requires users to update their imports toJsonnableWebAuthnIdentitywhen this type is usedcomposite_queryin candidv0.18.0Compare Source
What's Changed
New Contributors
Full Changelog: dfinity/icp-js-core@v0.17.0...v0.18.0
v0.17.0Compare Source
v0.16.0Compare Source
Small breaking change - typo in JsonnableWebAuthnIdentity type
Reverts use of
Headersstruct in HttpAgent for better node.js fetch library compatibilityWhat's Changed
Full Changelog: dfinity/icp-js-core@v0.15.7...v0.16.0
v0.15.7Compare Source
Changed
Do not use
Headersstruct during init of HttpAgent for Node compatibility. Note: still supports use of Headers in application codefix: finish all tasks before calling onSuccess auth callback in
@dfinity/auth-clientv0.15.6Compare Source
Changed
read\_staterequestsv0.15.5Compare Source
Changed
v0.15.4Compare Source
Changed
AuthClient, allowing users to specify whether to use aned25519orECDSAKey. This is important for custom storage providers that can't storeCryptoKeyobjectsHttpAgentv0.15.3Compare Source
Changed
X-IC-Request-ID headeruntil we coordinate cors support with icx-proxyv0.15.2Compare Source
Changed
auth-clientpackage.jsonX-IC-Request-ID headerto more easily identify retried requests. Also uses a standard Headers constructor to manage headersChanges default stored key for
auth-clientto use ECDSAKey* Also updates the storage interface types to supportCryptoKeyPairidentity-secp256k1in docs sitev0.15.1Compare Source
Changed
@dfinity/identity-secp256k1v0.15.0Compare Source
Changed
Breaking change: Moves
Secp256k1KeyIdentityto its own package.@dfinity/identity-secp256k1Breaking change: Deprecates
@dfinity/authentication. If you relied on theisDelegationValidcheck, it has been moved to@dfinity/identityDeprecates
@dfinity/identity-ledgerhq. Use@zondax/ledger-icpinstead.chore: links assets docs in index
chore: sets up new size-limit job for packages, in preparation for CI
v0.14.1Compare Source
Changed
secp256k1now supports afromSeedPhrasemethod that will reproduce the same identity acrossagent-js,dfx, andquillunpkgto use esmodulesjs-sha256dependency to principalcreateOptions.identityorauthClient.loginto be called before starting idle timeoutv0.14.0Compare Source
Changed
HttpAgent. By default, retries three times before throwing an error, to offer a more cohesive workflowfetchCandid()function which retrieves the Candid interface for a given canister id.auth-clientexpose storage constant keysauth-clientresolves window.open issue in login function in safari due to async storage callauth-clientstorage wrapper returns after resolve to avoid idb to be recreatedv0.13.3Compare Source
Changed
@dfinity/bls-verify. This package provides a pure-js implementation of BLS verification using themiracl-corepackage. This can be used to polyfill BLS verification foragent-js, but it is notably very slow (~3s per verification). Optimization may be possible with a significant refactoring\_keynon-nullable. This fixes a regression with async window.open behavior in SafariHttpAgentnow offers a method to sync time with the replica, provided a specific canister. This can be used to set properExpirytimes when a device has fallen out of sync with the replica.v0.13.2Compare Source
Changed
auth-clientavoids localstorage global and can be used in a web worker or nodejsauth-clientlogout now awaits clearing storagev0.13.1Compare Source
Changed
v0.13.0Compare Source
Changed
AuthClient now uses
IndexedDbby default. To use localStorage, import LocalStorage provider and pass it duringAuthClient.create().Also offers a generic
IndexedDbkeyval store,IdbKeyValAuthClientmigrates gracefully from localstorage to IDB when upgradingv0.12.2Compare Source
Changed
SubtleCryptointerface in@dfinity/identityusing the newECDSAKeyIdentityCanisterStatusno longer suppresses rootKey errorsv0.12.1Compare Source
Changed
UTF-8as an encoding option forCanisterStatuscustom pathscreateReadStateRequestthat creates the request forreadState.readStateto pass a created request. If this parameter is passed, the method does the request directly without creating a new one.createReadStateRequestand the extra parameter when polling for the response to avoid signing requests during polling.derivationOrigintoauth-clientlogin to support the ability to login using the identity derived from a different origin. See proposed changesv0.12.0Compare Source
Changed
v0.11.3Compare Source
v0.11.2Compare Source
Changed
Adds a default callback to the
IdleManagerthat will refresh the page after clearing the storageAdds a new utility method,
canisterStatus, toagent-js. Canister status now allows you to query paths from the canister certificate with a simple interface, using the API from theinterface specificationComes with nicely configured options for
time,controllers,subnet,module_hash,candid. Additionally, has a utility for reading custom MetaData set using ic-wasm, as well as generic custom paths in the format of ArrayBuffers.updates to package.json files for metadata in npm
v0.11.1Compare Source
Changed
v0.11.0Compare Source
Changed
makeNonce now returns unique values. Previously only the first byte of the nonce was populated.
Introduces
IdleManagerto theauth-client. You can now use it to detect when the user has been idle for a configurable amount of time, and then to register callbacks for the sake of logging the user out and prompting re-authentication. See the@dfinity/auth-clientReadme for more detailsReduces the
maxTimeToLivedefault setting from 24 hours to 8Versioning tool now sets patch version to 0 for minor version updates, or patch and minor versions to 0 for major version updates
Removes jest-expect-message, which was making test error messages less useful
HttpAgentnow generates a nonce to ensure that calls are unique by default. If you want to opt out or provide your own nonce logic, you can now pass an option ofdisableNonce: trueduring the agent initialization.If you are currently using
agent.addTransform(makeNonceTransform()), please note that you should remove that logic, or add thedisableNonceoption to your agent when upgrading.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.