Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@casual-simulation/aux-vm-client
Advanced tools
A set of utilities required to securely run an AUX as a client.
A set of utilities required to run an AUX as a client.
npm install @casual-simulation/aux-vm-client
import { RemoteAuxChannel } from '@casual-simulation/aux-vm-client';
import { AuxUser, AuxConfig } from '@casual-simulation/aux-vm';
export class MyCustomChannel extends RemoteAuxChannel {
constructor(defaultHost: string, user: AuxUser, config: AuxConfig) {
super(defaultHost, user, config, {});
}
// Override the _handleServerEvents function
// to handle events sent from a remote device.
protected async _handleServerEvents(events: DeviceAction[]) {
await super._handleServerEvents(events);
let filtered = events.filter(
e => e.device.roles.indexOf(SERVER_ROLE) >= 0
);
let mapped = <BotAction[]>filtered.map(e => e.event);
if (filtered.length > 0) {
await this.sendEvents(mapped);
}
}
}
V3.3.11
data
: The webhook will use the bots from a data record.file
: The webhook will use the bots from a file record.inst
: The webhook will use the bots from an inst record.
publicRead
: The publicRead
marker can be used to allow anyone to execute the webhook.private
: The private
marker can be used to only allow the record members to execute the webhook.create
read
update
delete
list
run
os.getWebhook()
or by inspecting the webhook through the admin panel.os.recordWebhook(recordName, webhook)
os.getWebhook(recordName, address)
os.runWebhook(recordName, address, input)
os.listWebhooks(recordName, address?)
os.listWebhooksByMarker(recordName, marker, address?)
os.eraseWebhook(recordName, address)
os.toast()
, os.showInput()
, etc.)
os.recordData()
).os.subscribeToNotification(recordName, address)
.os.sendNotification()
.publicRead
: The publicRead
marker can be used to allow anyone to read and subscribe to a notification.create
read
update
delete
list
subscribe
unsubscribe
listSubscriptions
send
os.recordNotification(recordName, notification)
os.getNotification(recordName, address)
os.eraseNotification(recordName, address)
os.listNotifications(recordName, address?)
os.listNotificationsByMarker(recordName, marker, address?)
os.subscribeToNotification(recordName, address)
os.unsubscribeFromNotification(recordName, address)
os.sendNotification(recordName, address, payload)
os.listNotificationSubscriptions(recordName, address)
os.listUserNotificationSubscriptions()
jsonObject
form subtype.
gltf
, but it uses ObjectLoader to load meshes from the URL specified in the formAddress
tag.FAQs
A set of utilities required to securely run an AUX as a client.
The npm package @casual-simulation/aux-vm-client receives a total of 139 weekly downloads. As such, @casual-simulation/aux-vm-client popularity was classified as not popular.
We found that @casual-simulation/aux-vm-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.