From 28a871df86e85ed6038491234a7b1d7295b952a4 Mon Sep 17 00:00:00 2001 From: CJ42 Date: Tue, 17 Oct 2023 17:01:24 +0100 Subject: [PATCH] chore: apply prettier --- examples/README.md | 8 ++++++++ src/index.test.ts | 16 ++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/examples/README.md b/examples/README.md index 4315d205..0dc1743f 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,25 +1,33 @@ # Examples ## fetchData + ``` npm run fetchData ``` + [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/erc725js-fetch-data?devtoolsheight=66&file=index.js) ## getData + ``` npm run getData ``` + [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/erc725js-get-data?devtoolsheight=66&file=package.json) ## encodeData + ``` npm run encodeData ``` + [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/erc725js-encode-data?devtoolsheight=66&file=index.js) ## decodeData + ``` npm run decodeData ``` + [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/erc725js-decode-data?devtoolsheight=66) diff --git a/src/index.test.ts b/src/index.test.ts index a96c2b01..36d077e4 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -1060,7 +1060,7 @@ describe('Running @erc725/erc725.js tests...', () => { ENCRYPT: true, DECRYPT: true, SIGN: true, - EXECUTE_RELAY_CALL: false + EXECUTE_RELAY_CALL: false, }, hex: '0x00000000000000000000000000000000000000000000000000000000003f3f7f', }, @@ -1088,7 +1088,7 @@ describe('Running @erc725/erc725.js tests...', () => { ENCRYPT: false, DECRYPT: false, SIGN: false, - EXECUTE_RELAY_CALL: false + EXECUTE_RELAY_CALL: false, }, hex: '0x0000000000000000000000000000000000000000000000000000000000000000', }, @@ -1116,7 +1116,7 @@ describe('Running @erc725/erc725.js tests...', () => { ENCRYPT: false, DECRYPT: false, SIGN: true, - EXECUTE_RELAY_CALL: false + EXECUTE_RELAY_CALL: false, }, hex: '0x0000000000000000000000000000000000000000000000000000000000200a00', }, @@ -1144,7 +1144,7 @@ describe('Running @erc725/erc725.js tests...', () => { ENCRYPT: false, DECRYPT: false, SIGN: false, - EXECUTE_RELAY_CALL: false + EXECUTE_RELAY_CALL: false, }, hex: '0x0000000000000000000000000000000000000000000000000000000000040800', }, @@ -1172,7 +1172,7 @@ describe('Running @erc725/erc725.js tests...', () => { ENCRYPT: false, DECRYPT: false, SIGN: false, - EXECUTE_RELAY_CALL: false + EXECUTE_RELAY_CALL: false, }, hex: '0x0000000000000000000000000000000000000000000000000000000000040004', }, @@ -1200,7 +1200,7 @@ describe('Running @erc725/erc725.js tests...', () => { ENCRYPT: false, DECRYPT: false, SIGN: false, - EXECUTE_RELAY_CALL: false + EXECUTE_RELAY_CALL: false, }, hex: '0x0000000000000000000000000000000000000000000000000000000000000a00', }, @@ -1281,7 +1281,7 @@ describe('Running @erc725/erc725.js tests...', () => { ENCRYPT: true, DECRYPT: true, SIGN: true, - EXECUTE_RELAY_CALL: true + EXECUTE_RELAY_CALL: true, }, ); assert.deepStrictEqual( @@ -1311,7 +1311,7 @@ describe('Running @erc725/erc725.js tests...', () => { ENCRYPT: true, DECRYPT: true, SIGN: true, - EXECUTE_RELAY_CALL: true + EXECUTE_RELAY_CALL: true, }, ); });