We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d54510 commit 946a757Copy full SHA for 946a757
.github/workflows/typescript.yml
@@ -17,3 +17,6 @@ jobs:
17
run: npm run typecheck
18
- name: Run Unit Tests
19
run: npm test
20
+ env:
21
+ INTEROP: true
22
+ OSC_ACCESS_TOKEN: ${{ secrets.OSC_ACCESS_TOKEN }}
src/cat.ts
@@ -343,7 +343,8 @@ export class CommonAccessToken {
343
const decoded = decoder.decode(coseMessage).value;
344
const coseTag = new cbor.Tag(decoded, 17);
345
const cwtTag = new cbor.Tag(coseTag, CWT_TAG);
346
- this.data = cbor.encode(cwtTag);
+ Log(cwtTag, { depth: null });
347
+ this.data = encoder.encode(cwtTag);
348
} else {
349
const plaintext = cbor.encode(this.payload).toString('hex');
350
this.data = await cose.mac.create(headers, plaintext, recipient);
0 commit comments