New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@archetype-org/clack

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@archetype-org/clack - npm Package Compare versions

Comparing version

to
0.1.5

13

index.js

@@ -54,2 +54,15 @@ import fs from 'fs'

},
reviveDesk: async function (deskName) {
return await sendKahn({
ship,
noun: await Thread(`
=/ m (strand ,vase)
;< [=ship =desk =case] bind:m get-beak
;< ~ bind:m
(poke-our %hood %kiln-revive !>(${deskName}))
(pure:m !>('success'))
`),
responseParser: parseThreadResponse
})
},
runThread: async function (thread, responseParser=parseThreadResponse) {

@@ -56,0 +69,0 @@ return await sendKahn({

@@ -19,4 +19,10 @@ import { Clack } from './index.js'

expect(noun).toBe('success');
});
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()
});

2

package.json
{
"name": "@archetype-org/clack",
"version": "0.1.4",
"version": "0.1.5",
"type": "module",

@@ -5,0 +5,0 @@ "description": "a nodejs library for sending IPC commands to an Urbit ship over Conn.c",