@beclab/olaresid 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/business/index.d.ts +3 -3
- package/dist/business/index.d.ts.map +1 -1
- package/dist/business/index.js +49 -64
- package/dist/business/index.js.map +1 -1
- package/dist/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/crypto-utils.d.ts +32 -4
- package/dist/utils/crypto-utils.d.ts.map +1 -1
- package/dist/utils/crypto-utils.js +117 -30
- package/dist/utils/crypto-utils.js.map +1 -1
- package/examples/crypto-utilities.ts +3 -3
- package/examples/ed25519-jwk.ts +1 -1
- package/examples/encoding-utils.ts +96 -0
- package/examples/frontend-demo/.dockerignore +40 -0
- package/examples/frontend-demo/index.html +13 -0
- package/examples/frontend-demo/package-lock.json +5304 -0
- package/examples/frontend-demo/package.json +32 -0
- package/examples/frontend-demo/src/App.vue +1156 -0
- package/examples/frontend-demo/src/main.ts +5 -0
- package/examples/frontend-demo/src/style.css +323 -0
- package/examples/frontend-demo/tsconfig.json +24 -0
- package/examples/frontend-demo/webpack.config.js +86 -0
- package/examples/generate-mnemonic.ts +3 -3
- package/examples/register-subdomain.ts +4 -3
- package/examples/transfer-domain.ts +1 -1
- package/examples/wallet-management.ts +8 -8
- package/package.json +1 -3
- package/src/business/index.ts +46 -58
- package/src/cli.ts +3 -3
- package/src/index.ts +6 -1
- package/src/utils/crypto-utils.ts +134 -32
- package/examples/quasar-demo/.eslintrc.js +0 -23
- package/examples/quasar-demo/.quasar/app.js +0 -43
- package/examples/quasar-demo/.quasar/client-entry.js +0 -38
- package/examples/quasar-demo/.quasar/client-prefetch.js +0 -130
- package/examples/quasar-demo/.quasar/quasar-user-options.js +0 -16
- package/examples/quasar-demo/README.md +0 -49
- package/examples/quasar-demo/index.html +0 -11
- package/examples/quasar-demo/package-lock.json +0 -6407
- package/examples/quasar-demo/package.json +0 -36
- package/examples/quasar-demo/quasar.config.js +0 -73
- package/examples/quasar-demo/src/App.vue +0 -13
- package/examples/quasar-demo/src/css/app.scss +0 -1
- package/examples/quasar-demo/src/layouts/MainLayout.vue +0 -21
- package/examples/quasar-demo/src/pages/IndexPage.vue +0 -905
- package/examples/quasar-demo/src/router/index.ts +0 -25
- package/examples/quasar-demo/src/router/routes.ts +0 -11
- package/examples/quasar-demo/tsconfig.json +0 -28
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "olaresid-quasar-demo",
|
|
3
|
-
"version": "0.0.1",
|
|
4
|
-
"description": "OlaresID Quasar Demo - Simple demo",
|
|
5
|
-
"productName": "OlaresID Demo",
|
|
6
|
-
"author": "Olares Team",
|
|
7
|
-
"private": true,
|
|
8
|
-
"scripts": {
|
|
9
|
-
"dev": "quasar dev",
|
|
10
|
-
"build": "quasar build"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"@quasar/extras": "^1.16.4",
|
|
14
|
-
"@beclab/olaresid": "file:../../",
|
|
15
|
-
"quasar": "^2.6.0",
|
|
16
|
-
"vue": "^3.0.0",
|
|
17
|
-
"vue-router": "^4.0.0"
|
|
18
|
-
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"@quasar/app-vite": "^1.3.0",
|
|
21
|
-
"@types/node": "^12.20.21",
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "^5.10.0",
|
|
23
|
-
"@typescript-eslint/parser": "^5.10.0",
|
|
24
|
-
"autoprefixer": "^10.4.2",
|
|
25
|
-
"eslint": "^8.10.0",
|
|
26
|
-
"eslint-config-prettier": "^8.1.0",
|
|
27
|
-
"eslint-plugin-vue": "^9.0.0",
|
|
28
|
-
"prettier": "^2.5.1",
|
|
29
|
-
"typescript": "^4.5.4"
|
|
30
|
-
},
|
|
31
|
-
"engines": {
|
|
32
|
-
"node": "^18 || ^16 || ^14.19",
|
|
33
|
-
"npm": ">= 6.13.4",
|
|
34
|
-
"yarn": ">= 1.21.1"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* eslint-env node */
|
|
2
|
-
|
|
3
|
-
const { configure } = require('quasar/wrappers');
|
|
4
|
-
|
|
5
|
-
module.exports = configure(function (/* ctx */) {
|
|
6
|
-
return {
|
|
7
|
-
// Disable ESLint for simplicity
|
|
8
|
-
// eslint: {
|
|
9
|
-
// warnings: true,
|
|
10
|
-
// errors: true,
|
|
11
|
-
// },
|
|
12
|
-
|
|
13
|
-
boot: [],
|
|
14
|
-
|
|
15
|
-
css: ['app.scss'],
|
|
16
|
-
|
|
17
|
-
extras: ['roboto-font', 'material-icons'],
|
|
18
|
-
|
|
19
|
-
build: {
|
|
20
|
-
env: {
|
|
21
|
-
NODE_RPC: 'https://sepolia.optimism.io',
|
|
22
|
-
CONTRACT_DID: '0xe2D7c3a9013960E04d4E9F5F9B63fff37eEd97A8',
|
|
23
|
-
CONTRACT_ROOT_RESOLVER:
|
|
24
|
-
'0xeF727cb066Fee98F88Db84555830063b4A24ddfc',
|
|
25
|
-
CONTRACT_ABI_TYPE: '0x7386fCBae6Ad4CCE1499d9153D99bc950B589718'
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
node: {
|
|
29
|
-
Buffer: true
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
target: {
|
|
33
|
-
browser: [
|
|
34
|
-
'es2019',
|
|
35
|
-
'edge88',
|
|
36
|
-
'firefox78',
|
|
37
|
-
'chrome87',
|
|
38
|
-
'safari13.1'
|
|
39
|
-
],
|
|
40
|
-
node: 'node16'
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
vueRouterMode: 'hash',
|
|
44
|
-
|
|
45
|
-
extendViteConf(viteConf) {
|
|
46
|
-
// Configure Vite to handle olaresid properly
|
|
47
|
-
viteConf.optimizeDeps = viteConf.optimizeDeps || {};
|
|
48
|
-
viteConf.optimizeDeps.include =
|
|
49
|
-
viteConf.optimizeDeps.include || [];
|
|
50
|
-
viteConf.optimizeDeps.include.push('@beclab/olaresid');
|
|
51
|
-
|
|
52
|
-
viteConf.build = viteConf.build || {};
|
|
53
|
-
viteConf.build.commonjsOptions = {
|
|
54
|
-
include: [/node_modules/, /@beclab\/olaresid/]
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
devServer: {
|
|
60
|
-
open: true,
|
|
61
|
-
port: 9001
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
framework: {
|
|
65
|
-
config: {
|
|
66
|
-
notify: {}
|
|
67
|
-
},
|
|
68
|
-
plugins: ['Notify']
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
animations: []
|
|
72
|
-
};
|
|
73
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// app global css
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<q-layout view="lHh Lpr lFf">
|
|
3
|
-
<q-header elevated>
|
|
4
|
-
<q-toolbar>
|
|
5
|
-
<q-toolbar-title> OlaresID Demo </q-toolbar-title>
|
|
6
|
-
</q-toolbar>
|
|
7
|
-
</q-header>
|
|
8
|
-
|
|
9
|
-
<q-page-container>
|
|
10
|
-
<router-view />
|
|
11
|
-
</q-page-container>
|
|
12
|
-
</q-layout>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script lang="ts">
|
|
16
|
-
import { defineComponent } from 'vue';
|
|
17
|
-
|
|
18
|
-
export default defineComponent({
|
|
19
|
-
name: 'MainLayout'
|
|
20
|
-
});
|
|
21
|
-
</script>
|