-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'funke2/funke' into sign-extension-arkg
- Loading branch information
Showing
16 changed files
with
585 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
<url> | ||
<loc>https://demo.wwwallet.org/login</loc> | ||
<lastmod>2024-04-25</lastmod> | ||
<loc>https://funke.wwwallet.org/login</loc> | ||
<lastmod>2024-10-04</lastmod> | ||
<priority>1.0</priority> | ||
<changefreq>monthly</changefreq> | ||
<changefreq>weekly</changefreq> | ||
</url> | ||
</urlset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Encoder, Options } from "cbor-x"; | ||
|
||
const encoderDefaults: Options = { | ||
tagUint8Array: false, | ||
useRecords: false, | ||
mapsAsObjects: false, | ||
// @ts-ignore | ||
useTag259ForMaps: false, | ||
}; | ||
|
||
export const cborDecode = ( | ||
input: Buffer | Uint8Array, | ||
options: Options = encoderDefaults, | ||
): any => { | ||
const params = { ...encoderDefaults, ...options }; | ||
const enc = new Encoder(params); | ||
return enc.decode(input); | ||
}; | ||
|
||
export const cborEncode = ( | ||
obj: unknown, | ||
options: Options = encoderDefaults, | ||
): Buffer => { | ||
const params = { ...encoderDefaults, ...options }; | ||
const enc = new Encoder(params); | ||
return enc.encode(obj); | ||
}; |
Oops, something went wrong.