Skip to content
Draft
Show file tree
Hide file tree
Changes from 9 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
7 changes: 7 additions & 0 deletions .changeset/clean-knives-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@onflow/fcl-core": minor
"@onflow/typedefs": minor
"@onflow/sdk": minor
---

Refactored fcl-core package to TypeScript
8 changes: 8 additions & 0 deletions .changeset/fifty-seahorses-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@onflow/fcl-core": minor
"@onflow/typedefs": minor
"@onflow/fcl": minor
"@onflow/sdk": minor
---

Refactored fcl package to TypeScript
8 changes: 8 additions & 0 deletions .changeset/lemon-toes-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@onflow/fcl-react-native": minor
"@onflow/fcl-core": minor
"@onflow/typedefs": minor
"@onflow/sdk": minor
---

Refactored fcl-react-native package to TypeScript
13 changes: 13 additions & 0 deletions .changeset/strong-onions-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@onflow/fcl-ethereum-provider": minor
"@onflow/transport-http": minor
"@onflow/util-logger": minor
"@onflow/fcl-core": minor
"@onflow/typedefs": minor
"@onflow/util-rpc": minor
"@onflow/fcl-wc": minor
"@onflow/fcl": minor
"@onflow/sdk": minor
---

Converted enums to template literals
2 changes: 1 addition & 1 deletion packages/fcl-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The things that exists probably won't be changing much externally, we will be ad
## Install

```bash
npm install --save @onflow/fcl @onflow/types
npm install --save @onflow/fcl
```

## Getting Started
Expand Down
1 change: 0 additions & 1 deletion packages/fcl-core/src/VERSION.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/fcl-core/src/VERSION.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare const PACKAGE_CURRENT_VERSION: string | undefined

export const VERSION: string = PACKAGE_CURRENT_VERSION || "TESTVERSION"
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe("verifyUserSignatures", () => {

it("should reject if missing array of composite signatures", async () => {
expect.assertions(1)
await expect(verifyUserSignatures(message, null)).rejects.toThrow(Error)
await expect(verifyUserSignatures(message, [])).rejects.toThrow(Error)
})

it("should reject if compSigs are from different account addresses", async () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {verifyAccountProof, verifyUserSignatures} from "./verify-signatures.js"
export {verifyAccountProof, verifyUserSignatures} from "./verify-signatures"
188 changes: 0 additions & 188 deletions packages/fcl-core/src/app-utils/verify-signatures.js

This file was deleted.

Loading