
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
advanced-storage-sdk
Advanced tools
To install the advanced-storage-sdk package, run the following command:
npm install advanced-storage-sdk
Import and initialize the SDK in your JavaScript or TypeScript application, preferring a Singleton object to communicate with the super app:
import { AdvancedStorageSdk } from 'advanced-storage-sdk';
const advancedStorageSdk = new AdvancedStorageSdk();
Detect the platform on which the super app is running for the mini app to function correctly:
let userAgent = advancedStorageSdk.detectPlatform();
advancedStorageSdk.setPlatformExecutor(userAgent);
let data = {
type: "AdvancedStorageDataType.DATABASE_RECORDS | AdvancedStorageDataType.DATABASE_COLLECTIONS",
method: "AdvancedStorageMethodType.CREATE_RECORD | AdvancedStorageMethodType.VIEW_RECORD | AdvancedStorageMethodType.LIST_RECORD | AdvancedStorageMethodType.LIST_FULL_RECORD | AdvancedStorageMethodType.UPDATE_RECORD | AdvancedStorageMethodType.DELETE_RECORD | AdvancedStorageMethodType.CREATE_COLLECTION | AdvancedStorageMethodType.VIEW_COLLECTION | AdvancedStorageMethodType.LIST_COLLECTION | AdvancedStorageMethodType.LIST_FULL_COLLECTION | AdvancedStorageMethodType.UPDATE_COLLECTION | AdvancedStorageMethodType.DELETE_COLLECTION",
app_code: "",
table_name: "",
data: "",
record_id: 0,
expand: "",
page: 1,
per_page: 100,
filter: "",
sort: ""
};
await advancedStorageSdk.advancedStorage(data)
.then((res) => {
console.log(res);
})
.catch((e) => {
console.log(e);
});
For a complete list of available functions, refer to the following interface file that defines each request/response type:
/gap-miniapp-sdk/dist/interface/advanced_storage_interface
FAQs
To install the `advanced-storage-sdk` package, run the following command:
The npm package advanced-storage-sdk receives a total of 0 weekly downloads. As such, advanced-storage-sdk popularity was classified as not popular.
We found that advanced-storage-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.