
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@rettersoft/rbs-node-sdk
Advanced tools
npm install @rettersoft/rbs-node-sdk
RBS JS SDK can be used in two types of clients:
Client can be initialized with a project id. Project ID can is a unique id of a project created in RBS developer console.
const rbs = RBS.getInstance({
projectId: '{PROJECT_ID}'
})
const rbs = RBS.getInstance({
projectId: request.projectId,
developerId: 'rbs',
serviceId: 'pm',
secretKey: process.env.RBS_SECRET_KEY,
region: RbsRegion.euWest1Beta,
}, true) // return new instance or cached instance
Developer Id: The id of the developer registered in RBS developer console.
Service Id: The id of the service this developer has registered in RBS developer console.
Secret Key: The secret key generated for this service in RBS developer console.
Base RBS url for the SDK to connect to. For apps which live in RBS Cloud, this parameter should not be given.
const rbs = new RBS({
projectId: "{PROJECT_ID}",
rbsUrl: "https://core.rettermobile.com" // Default value
})
let result = await rbs.send({
action: 'rbs.someservice.request.SOME_ACTION',
data: {
"a": "1"
}
})
let authResult = await rbs.authenticateWithCustomToken("{A_CUSTOM_TOKEN}")
rbs.authStatus.subscribe((event:RBSAuthChangedEvent) => {
})
Models:
export enum RBSAuthStatus {
SIGNED_IN = "SIGNED_IN",
SIGNED_IN_ANONYM = "SIGNED_IN_ANONYM",
SIGNED_OUT = "SIGNED_OUT",
AUTH_FAILED = "AUTH_FAILED"
}
export interface RBSAuthChangedEvent {
authStatus: RBSAuthStatus
identity?: string
uid?: string
message?: string
}
FAQs
Nodejs sdk for retter business services
The npm package @rettersoft/rbs-node-sdk receives a total of 0 weekly downloads. As such, @rettersoft/rbs-node-sdk popularity was classified as not popular.
We found that @rettersoft/rbs-node-sdk demonstrated a not healthy version release cadence and project activity because the last version was released 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.