1-z-2 SDK License

In one sentence: you may use this file and embed it in your own application,
free of charge and without asking, as long as you do not modify it or
republish it as a separate work. Full terms follow.

Copyright (c) 2026 Zugaba Limited

Permission is granted to use this software and to embed the file client.js,
unmodified, in your own application. Vendoring it as a local file is the
intended form of distribution.

You may not:

  1. modify client.js and distribute the result;
  2. republish client.js, or any part of it, as a separate work or under
     another name.

The sole exception to clause 2 is the operator's own npm package "1-z-2",
which exists so that a vendored copy can be verified against a registry
neither party controls: at matching versions, the package's client.js is
byte-identical to GET /sdk.js on any 1-z-2 relay.

Writing your own client

This license covers the file client.js and nothing else. It does not restrict
talking to a 1-z-2 relay. You may write, use and share your own software, in
any programming language, that connects to a 1-z-2 relay by following the
integration guides the relay publishes (GET /integrate.md and
GET /integrate-http.md) — free of charge and without asking — provided that:

  a. it is your own work: it is not copied or translated from client.js.
     Making the same web requests the guides describe is not copying;
  b. it does not pass itself off as official: do not name it "the 1-z-2 SDK"
     or suggest that Zugaba Limited made or endorses it. Saying what it is
     for ("a Python client for 1-z-2") is fine.

You may also copy the integration guides into your own project so that a
person or an AI tool can follow them.

Using a relay is subject to that relay operator's own terms, which this file
does not change.

The canonical copy is always GET /sdk.js on your relay. The relay server is
closed and is not licensed by this file.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ITS USE.
