Object Sender Test

All the magic is in the console.

This will send a random speckle object to the server to flex things around.

How does this work?

import { send, Base } from '@speckle/objectsender'

const testObject = new Base({
  prop: value, 
  '@detachedValue': new Base({...}),
  '@detachedArray': [...Array(100).fill(0).map( _ => new Base({...}))],
  '@(10)chunkedArr': [...Array(100).fill(0)]
})

const { hash } = await send(testObject, { serverUrl, projectId, token }) 
      

For more info check src/examples/browser/main.ts


resulting link will be displayed here (note, nothing will be visible in the viewer)