
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@walkme/sdk
Advanced tools
The Player SDK includes hooks, data and services that allow internal and external applications to interact with the Player and enhance its functionality.
npm t
npm run build -- --mode <level> --env.WP_PUBLIC_PATH_BASE=<target remote url>
<level>
- for dev env's (Local, QA, Dev) use development
, otherwise use production
<target remote url>
- is a base URL when the SDK will be available later, for instance:
Examples:
For QA:
npm run build:dev -- --env.WP_PUBLIC_PATH_BASE=https://cdn.walkmeqa.com/sdk/
OR npm run build --mode development --env.WP_PUBLIC_PATH_BASE=https://cdn.walkmeqa.com/sdk/
For Production:
npm run build -- --mode production --env.WP_PUBLIC_PATH_BASE=https://cdn.walkme.com/sdk/
npm version patch
npm publish
Notes:
minor
and major
they required to npm i @walkme/sdk@latest
import sdk from '@walkme/sdk';
(async() => {
await sdk.init();
const key = 'some key';
const val = 'some key';
sdk.storage.save(key, val, 600);
console.log(sdk.storage.get(key) === val); // will print true
})();
Run:
npm run build:dev -- --watch
Link:
npm link
In the other project:
npm link @walkme/sdk
You're ready to go! use the SDK follow by the example above
Run:
npm run build:dev:example
;
Then:
Desktop: Open example/dist/index.html in your browser
Web:
Open example/dist/index.html (make sure you have ?platform=web
to the URL)
FAQs
Player SDK
The npm package @walkme/sdk receives a total of 5 weekly downloads. As such, @walkme/sdk popularity was classified as not popular.
We found that @walkme/sdk 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.