Skip to content

Commit

Permalink
Reverted last 6 commits because jsr is not compatible with browser
Browse files Browse the repository at this point in the history
  • Loading branch information
timonson committed Aug 9, 2024
1 parent 78e4b8a commit 9b1bf0d
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 32 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/publish.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Setup Deno
run: |
curl -fsSL https://deno.land/x/install/install.sh | sh ${{ matrix.deno == 'old' && '-s v1.45.4' || '' }}
curl -fsSL https://deno.land/x/install/install.sh | sh ${{ matrix.deno == 'old' && '-s v1.37.2' || '' }}
echo "$HOME/.deno/bin" >> $${{ runner.os == 'Windows' && 'env:' || '' }}GITHUB_PATH
- name: Upgrade to Deno canary
if: matrix.deno == 'canary'
Expand Down
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
.*
!/.gitignore

!/.github
/.github/*
!/.github/workflows
/.github/workflows/*
!/.github/workflows/publish.yml

deno.lock
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Takes `Header`, `Payload` and `CryptoKey` and returns the url-safe encoded
```typescript
import { create } from "https://deno.land/x/djwt@$VERSION/mod.ts";

const jwt = await create({ alg: "HS512", type: "JWT" }, { foo: "bar" }, key);
const jwt = await create({ alg: "HS512", typ: "JWT" }, { foo: "bar" }, key);
```

### verify
Expand Down
3 changes: 0 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"name": "@zaubrik/djwt",
"version": "3.0.2",
"exports": "./mod.ts",
"tasks": {
"test": "deno test --check --unstable --allow-all"
},
Expand Down
2 changes: 1 addition & 1 deletion deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export {
decodeBase64Url,
encodeBase64Url,
} from "https://deno.land/std@0.224.0/encoding/base64url.ts";
} from "https://deno.land/std@0.221.0/encoding/base64url.ts";

0 comments on commit 9b1bf0d

Please sign in to comment.