Skip to content

Commit

Permalink
PKG -- [fcl] Add service opt-in functionality to config (onflow#901)
Browse files Browse the repository at this point in the history
* PKG -- [fcl] Add service opt-in functionality to config

* PKG -- [fcl] Remove commented out section

* PKG -- [fcl] Fix import

* PKG -- [fcl] Fix test

* PKG -- [fcl] Change optIn to include naming

* PKG -- [fcl] Update changelog with new syntax

* PKG -- [fcl] Change endpoint test url

* PKG -- [fcl] Support include filtering for discovery.wallet (onflow#903)

* PKG -- [fcl] Support include filtering for discovery.wallet

* PKG -- [fcl] Change url in changelog

* PKG -- [fcl] Return empty string if none

* PKG -- [fcl] Add version to query params for Discovery

* PKG -- [fcl] Fix tests for discovery
  • Loading branch information
chasefleming authored Dec 2, 2021
1 parent 43075cd commit ce283fa
Show file tree
Hide file tree
Showing 6 changed files with 5,690 additions and 8,300 deletions.
13 changes: 13 additions & 0 deletions packages/fcl/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
## Unreleased

- 2021-12-01 -- Internal: Wrap authz in resolve to dedupe accounts. Remove user `notExpired` check.
- 2021-11-30 -- Allow apps to add opt-in wallets in Discovery with config.

```javascript
import { config } from "@onflow/fcl"

// Include supports discovery.wallet or discovery.authn.endpoint
config({
"discovery.wallet": "https://fcl-discovery.onflow.org/testnet/authn",
"discovery.authn.endpoint": "https://fcl-discovery.onflow.org/api/testnet/authn",
"discovery.authn.include": ["0x123"] // Service account address
})
```

- 2021-11-22 -- Updates to use account key `HashAlgorithm` in `verifyUSerSignatures` instead of default `SHA3_256`
- 2021-11-19 -- Update `buildUser` with with correct data prop for `expiresAt`

Expand Down
Loading

0 comments on commit ce283fa

Please sign in to comment.