@archetype-org/clack
Advanced tools
Comparing version
@@ -74,3 +74,3 @@ import fs from 'fs' | ||
}, | ||
close: async function(argument) { | ||
close: async function() { | ||
python.exit() | ||
@@ -81,4 +81,9 @@ } | ||
function closeClack () { | ||
python.exit() | ||
} | ||
export { | ||
Clack, | ||
closeClack, | ||
primitiveToAtom, | ||
@@ -85,0 +90,0 @@ atomToPrimitive, |
@@ -20,9 +20,1 @@ import { Clack } from './index.js' | ||
}); | ||
test('reviveDesk', async function () { | ||
const clack = Clack({ ship: '../clack-scratchpad/zod' }) | ||
const noun = await clack.reviveDesk('%js-created') | ||
expect(noun).toBe('success'); | ||
await clack.close() | ||
}); | ||
{ | ||
"name": "@archetype-org/clack", | ||
"version": "0.1.5", | ||
"version": "0.2.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "a nodejs library for sending IPC commands to an Urbit ship over Conn.c", |
16730
-0.94%279
-0.71%