@things-host/lib
Advanced tools
+1
-1
@@ -1,1 +0,1 @@ | ||
| export { default as Client } from './client/index.ts'; | ||
| export { default as Client } from './client/index.js'; |
+1
-1
@@ -1,1 +0,1 @@ | ||
| export { default as Client } from './client/index.ts'; | ||
| export { default as Client } from './client/index.js'; |
@@ -1,2 +0,2 @@ | ||
| import type Client from './index.ts'; | ||
| import type Client from './index.js'; | ||
| export default class Account { | ||
@@ -3,0 +3,0 @@ client: Client; |
@@ -1,2 +0,2 @@ | ||
| import type Client from './index.ts'; | ||
| import type Client from './index.js'; | ||
| export default class Bot { | ||
@@ -3,0 +3,0 @@ client: Client; |
@@ -1,2 +0,2 @@ | ||
| import type Client from './index.ts'; | ||
| import type Client from './index.js'; | ||
| export default class Box { | ||
@@ -3,0 +3,0 @@ client: Client; |
@@ -1,2 +0,2 @@ | ||
| import type Client from './index.ts'; | ||
| import type Client from './index.js'; | ||
| export default class Host { | ||
@@ -3,0 +3,0 @@ client: Client; |
@@ -1,10 +0,10 @@ | ||
| import Bot from './bot.ts'; | ||
| import Box from './box.ts'; | ||
| import Account from './account.ts'; | ||
| import Search from './search.ts'; | ||
| import Host from './host.ts'; | ||
| import Space from './space.ts'; | ||
| import Thing from './thing.ts'; | ||
| import Uploader from './upload.ts'; | ||
| import Session from './session.ts'; | ||
| import Bot from './bot.js'; | ||
| import Box from './box.js'; | ||
| import Account from './account.js'; | ||
| import Search from './search.js'; | ||
| import Host from './host.js'; | ||
| import Space from './space.js'; | ||
| import Thing from './thing.js'; | ||
| import Uploader from './upload.js'; | ||
| import Session from './session.js'; | ||
| type Hash = { | ||
@@ -11,0 +11,0 @@ [key: string]: any; |
| import _ from 'lodash-es'; | ||
| import Bot from './bot.ts'; | ||
| import Box from './box.ts'; | ||
| import Account from './account.ts'; | ||
| import Search from './search.ts'; | ||
| import Host from './host.ts'; | ||
| import Space from './space.ts'; | ||
| import Thing from './thing.ts'; | ||
| import Uploader from './upload.ts'; | ||
| import Session from './session.ts'; | ||
| import Bot from './bot.js'; | ||
| import Box from './box.js'; | ||
| import Account from './account.js'; | ||
| import Search from './search.js'; | ||
| import Host from './host.js'; | ||
| import Space from './space.js'; | ||
| import Thing from './thing.js'; | ||
| import Uploader from './upload.js'; | ||
| import Session from './session.js'; | ||
| export function pagination(headers) { | ||
@@ -12,0 +12,0 @@ const currentPage = parseInt(headers?.get('current-page')?.toString() || '0'); |
@@ -1,2 +0,2 @@ | ||
| import type { default as Client, Hash, Pagination } from './index.ts'; | ||
| import type { default as Client, Hash, Pagination } from './index.js'; | ||
| interface SearchArgs { | ||
@@ -3,0 +3,0 @@ headers?: Headers | null; |
@@ -1,2 +0,2 @@ | ||
| import { pagination } from './index.ts'; | ||
| import { pagination } from './index.js'; | ||
| export default class Search { | ||
@@ -3,0 +3,0 @@ client; |
@@ -1,2 +0,2 @@ | ||
| import type Client from './index.ts'; | ||
| import type Client from './index.js'; | ||
| export default class Session { | ||
@@ -3,0 +3,0 @@ client: Client; |
@@ -1,2 +0,2 @@ | ||
| import type Client from './index.ts'; | ||
| import type Client from './index.js'; | ||
| export default class Space { | ||
@@ -3,0 +3,0 @@ client: Client; |
@@ -1,2 +0,2 @@ | ||
| import type Client from './index.ts'; | ||
| import type Client from './index.js'; | ||
| declare const STATES: { | ||
@@ -3,0 +3,0 @@ stopped: string; |
@@ -1,4 +0,4 @@ | ||
| import type Box from './box.ts'; | ||
| import type Client from './index.ts'; | ||
| import Thing from './thing.ts'; | ||
| import type Box from './box.js'; | ||
| import type Client from './index.js'; | ||
| import Thing from './thing.js'; | ||
| export default class Uploader { | ||
@@ -5,0 +5,0 @@ private client; |
| import { DateTime } from 'luxon'; | ||
| import Thing, { STATES } from './thing.ts'; | ||
| import Thing, { STATES } from './thing.js'; | ||
| export default class Uploader { | ||
@@ -4,0 +4,0 @@ client; |
+1
-1
@@ -22,2 +22,2 @@ import * as minidenticons from 'minidenticons'; | ||
| export { loader } from './stores/app.js'; | ||
| export { Client } from './client.ts'; | ||
| export { Client } from './client.js'; |
+1
-1
@@ -25,2 +25,2 @@ import * as minidenticons from 'minidenticons'; | ||
| // client | ||
| export { Client } from './client.ts'; | ||
| export { Client } from './client.js'; |
+4
-3
| { | ||
| "name": "@things-host/lib", | ||
| "version": "0.1.2", | ||
| "version": "0.1.4", | ||
| "publishConfig": { | ||
@@ -20,6 +20,8 @@ "access": "public" | ||
| "types": "./dist/index.d.ts", | ||
| "import": "./src/lib/index.ts", | ||
| "svelte": "./dist/index.js" | ||
| } | ||
| }, | ||
| "svelte": "./dist/index.js", | ||
| "types": "./dist/index.d.ts", | ||
| "type": "module", | ||
| "files": [ | ||
@@ -46,3 +48,2 @@ "dist", | ||
| }, | ||
| "type": "module", | ||
| "dependencies": { | ||
@@ -49,0 +50,0 @@ "@sveltejs/kit": "^1.25.2", |
80621
0.03%