![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@oneblink/sdk
Advanced tools
OneBlink SDK to serve as an entry point for all OneBlink Services in NodeJS
OneBlink SDK to serve as an entry point for all OneBlink Services in NodeJS
See the Documentation for more details.
In previous versions (< 2.0), this function returned all forms in one call. This is no longer the case and mandatory pagination is now enforced.
If no limit
is provided, this is set to 200. If no offset
is provided, this is set to 0
.
If you currently have more than 200 forms returned from this function, or expect to have more than 200 forms returned, you will need to update your code to account for this. If you do need to account for this, accessing all forms as you previously could now requires that you make multiple calls to this function. This could look something like:
const { Forms } = require('@oneblink/sdk')
const options = {
accessKey: '123455678901ABCDEFGHIJKL',
secretKey: '123455678901ABCDEFGHIJKL123455678901ABCDEFGHIJKL',
}
const forms = new Forms(options)
const nextOffset = 0
const forms = []
while (nextOffset !== undefined) {
var result = await forms.searchForms({
// ...filters
limit: 100,
offset: nextOffset,
})
forms.push(result.forms)
nextOffset = result.meta.nextOffset
}
// Use `forms`
Alternately, you could integrate pagination directly into your application.
[10.5.0] - 2025-01-29
layout
property to RepeatableSetElement
FAQs
OneBlink SDK to serve as an entry point for all OneBlink Services in NodeJS
The npm package @oneblink/sdk receives a total of 84 weekly downloads. As such, @oneblink/sdk popularity was classified as not popular.
We found that @oneblink/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.