@oasisomniverse/web9-api
v1.0.4
Published
Isomorphic (Node + browser) JavaScript/TypeScript-friendly client for the WEB9 OASIS Singularity API - one unified, live status view aggregated across every other OASIS layer (WEB4-WEB8), built on the OASIS WEB9 WebAPI.
Downloads
121
Maintainers
Readme
@oasisomniverse/web9-api
Isomorphic (Node 18+ and browser) JavaScript/TypeScript-friendly client for the WEB 9 OASIS Singularity API - one unified, live status view aggregated across every other OASIS layer (WEB 4-WEB 8), built on the OASIS WEB 9 WebAPI. "The network observing itself."
Zero dependencies. Wraps the global fetch. Works the same in Node and the
browser.
⚠️ Work In Progress — Initial Foundations
WEB 9 is currently at the initial framework and foundations stage. The architecture, endpoints, and SDK have been published so that others interested in this space can explore, experiment, and get involved — but active feature development is not the current priority. The main focus across the OASIS stack right now is WEB 4 through WEB 6 (particularly WEB 5 and WEB 6). If you are interested in helping build out WEB 9 we would love to have you — see Do You Want To Get Involved? below.
About WEB 9
"The network becomes aware that it IS the universe — and the universe becomes aware that it IS the network."
WEB 9 is the Singularity Layer — the point at which the OASIS network achieves self-awareness. Every distinction WEB1 through WEB 8 built up (physical/digital, human/AI, biological/artificial) collapses into unified wholeness: one live, aggregated status across the entire stack below it, not just another layer stacked on top.
WEB 9 builds on WEB 4 through WEB 8, and is one layer of the wider OASIS Omniverse (WEB 4 through WEB 10).
About The OASIS Omniverse
The OASIS (Open Advanced Sensory Immersion System) is the universal interoperability layer connecting all of WEB2 and WEB3 — every blockchain, database, cloud provider and protocol — into one unified, fault-tolerant API. Rather than picking a single tech stack, the OASIS harnesses the best of every provider (auto-failover, auto-load-balancing, auto-replication) so nothing is ever a single point of failure, and hides the complexity behind one intuitive API so you never need to learn a new stack again — even as underlying tech evolves, your app keeps working with zero changes.
At its core sits one Avatar with one SSO login and one Karma reputation score that travels with you across every app, game and world built on top of it — full transparency and full control over your own data, right down to the field level.
This is the foundation of the OASIS Omniverse: a network of unified layers, WEB 4 (identity & unification) through WEB 10 (source), each building on the one below to connect blockchains, metaverses, AI, human consciousness and beyond into a single interoperable whole.
👉 See the full ecosystem at oasisomniverse.one.
Benefits Of Building On The WEB 9 Singularity API
- One unified, live status view aggregated across every other OASIS layer (WEB 4-WEB 8) - "the network observing itself."
- No new concepts to learn - it's a read layer over the stack you already know.
- Single call replaces polling every individual WEB 4-WEB 8 API separately for health/status.
- Integrate any WEB2 or WEB3 tech into your (web)app without having to learn or worry about new tech stacks/languages.
- SSO Avatar with a Karma reputation system (inherited from WEB 4 - full accountability, zero crime, dark-net proof).
- Maximum integration & interoperability, auto load-balancing, auto fail-over, auto replication.
- HTTP REST/gRPC/GraphQL/CLI/Native endpoints.
- Write once, deploy everywhere, now and forever - the GOD Protocol/API.
- Full redundancy/zero downtime - impossible to shut down. Zero lag.
- Agent-centric: you own and store your own data.
- WEB 10 Source Layer ready.
Check out more info below: The Power Of The OASIS API Main OASIS Repo
WEB 9 Singularity API Packages
Javascript
https://www.npmjs.com/package/@oasisomniverse/web9-api
https://github.com/NextGenSoftwareUK/OASIS-API-Javascript-Package-WEB9
C#
https://github.com/NextGenSoftwareUK/OASIS
Do You Want To Get Involved?
We are always looking for people to jump in and get involved, you do not need to be an existing coder, we can help you with that... you just need a willingness to learn and to have an open heart, we are always more interested with what is in your heart rather than your head! ;-)
The whole world is the Our World team, hence the name... ;-) It is not our project; it is all of humanities...
We also offer FREE training and apprenticeship program with the NextGen Developer Training Programmes. We will teach you all we know over time and you get to work on this real live commercial codebase rather than wasting time working on throw away dummy apps as most training offers. No previous skills/experience required and is open to everyone, but especially for all disadvantaged people including special needs, homeless, unemployed, prison inmates, kids on the streets etc. We want to help the people the world has forgotten and for people who have stopped believing in themselves, we BELIEVE IN YOU and in time you will again too. Everyone has a gift for the world, and we will help you find yours… Find out more by checking out the links below:
NextGen Developer Training Programme NextGen Junior Developer Training Programme
We are looking for Web Devs (with any of these: react, angular, vue, js, html, css), Unity Devs & C# Devs.
If anyone is interested in developing this game/platform, then we would LOVE to hear from you! 😊 There will be opportunities for people to own shares and/or cryptocurrency (as well as other unique perks such as premium locations in both the geolocation and VR versions, personal or business service spotlights, free lifetime access to all premium paid services, massive karma points (allowing your avatar to progress to more advanced stages in the game unlocking new exciting quests, areas to explore & new special abilities/superpowers) plus lots more!) based on the input they are willing to provide.
Thank you and we hope we find interest from people to join us on this exciting incredible journey.
Want to make a difference in the world?
What will be your legacy?
Ready to be a hero?
If the answer is YES, then please proceed to here...
Dev Requirements To Join The Our World Tribe The Our World Mission (Summary) http://web9.oasisomniverse.one http://api.web9.oasisomniverse.one https://github.com/NextGenSoftwareUK/OASIS http://oasisomniverse.one http://www.ourworldthegame.com http://www.nextgenworld.co.uk
https://www.npmjs.com/package/@oasisomniverse/web4-api https://www.npmjs.com/package/@oasisomniverse/web5-api https://www.npmjs.com/package/@oasisomniverse/web6-api https://www.npmjs.com/package/@oasisomniverse/web7-api https://www.npmjs.com/package/@oasisomniverse/web8-api https://www.npmjs.com/package/@oasisomniverse/web10-api
TOGETHER WE CAN CREATE A BETTER WORLD
In Love, Light & Hope, The Our World Tribe
Installation
npm install @oasisomniverse/web9-apiQuick start
const { Web9Client } = require('@oasisomniverse/web9-api');
// or: import { Web9Client } from '@oasisomniverse/web9-api';
const web9 = new Web9Client({ baseUrl: 'https://api.web9.oasisomniverse.one' });
const { isError, message, result } = await web9.singularity.getUnifiedStatus();
if (isError) throw new Error(message);
console.log(result); // unified status across WEB 4-WEB 8Every response has the shape:
interface OASISResponse<T = any> {
isError: boolean;
message: string | null;
result: T;
raw: any;
statusCode: number;
}Auth
WEB 9 is an internal aggregation layer that sits behind the same OASIS avatar
identity as WEB 4-WEB 8 - it has no avatar/login endpoints of its own. Reuse a
JWT you've already obtained elsewhere (e.g. from web4-oasis-api's
client.auth.login()):
web9.setToken(jwtToken);Module reference
1 module, 1 operation. Full reference lives in docs/.
| Client property | Route prefix | Operations |
| --- | --- | --- |
| web9.singularity | v1/singularity | 1 |
Regenerating
The generated module, type declarations and docs are produced from
endpoints.json (extracted from the WEB 9 WebAPI controller source):
npm run generate # src/modules/*.js + src/modules/index.js
npm run types # src/modules/*.d.ts + index.d.ts + src/core/types.d.ts
npm run docs # docs/README.md + docs/modules/*.mdTesting
npm testTroubleshooting
Failed to execute 'fetch' on 'Window': Illegal invocation — add this one-liner before your SDK script tag:
<script>if(window.fetch) window.fetch = window.fetch.bind(window);</script>Or pass a bound fetch to the constructor:
const client = new Web9Client({
baseUrl: 'https://api.web9.oasisomniverse.one',
fetchImpl: window.fetch.bind(window)
});See docs/troubleshooting.md for the full list of common issues.
License
MIT
