@k3000/s1 0.1.0 → 0.1.1

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.
@@ -1,23 +0,0 @@
1
-
2
- const index = import.meta.url.indexOf('?')
3
-
4
- const url = `./1/index.mjs${index > -1 ? import.meta.url.substring(index) : ''}`
5
-
6
- let remark0, close0, getStruct0
7
-
8
- /**
9
- * @type {import('./1/type').Storage}
10
- */
11
- const storage = await new Promise((resolve, reject) => import(url)
12
- .then(modules => {
13
- remark0 = modules.remark
14
- close0 = modules.close
15
- getStruct0 = modules.getStruct
16
- resolve(modules.default)
17
- }).catch(error => reject(error)))
18
-
19
- export const remark = remark0
20
- export const close = close0
21
- export const getStruct = getStruct0
22
-
23
- export default storage