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.4

13

index.js

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

},
commitDesk: 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-commit !>([${deskName} |]))
(pure:m !>('success'))
`),
responseParser: parseThreadResponse
})
},
runThread: async function (thread, responseParser=parseThreadResponse) {

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

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

expect(noun).toBe('success');
});
test('commitDesk', async function () {
const clack = Clack({ ship: '../clack-scratchpad/zod' })
const noun = await clack.commitDesk('%js-created')
expect(noun).toBe('success');
await clack.close()
});

2

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

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