Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@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 7 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.