mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 10:21:40 +00:00
feature/1121 implement ucan validation (#1176)
- **refactor: remove unused auth components** - **refactor: improve devbox configuration and deployment process** - **refactor: improve devnet and testnet setup** - **fix: update templ version to v0.2.778** - **refactor: rename pkl/net.matrix to pkl/matrix.net** - **refactor: migrate webapp components to nebula** - **refactor: protobuf types** - **chore: update dependencies for improved security and stability** - **feat: implement landing page and vault gateway servers** - **refactor: Migrate data models to new module structure and update related files** - **feature/1121-implement-ucan-validation** - **refactor: Replace hardcoded constants with model types in attns.go** - **feature/1121-implement-ucan-validation** - **chore: add origin Host struct and update main function to handle multiple hosts** - **build: remove unused static files from dwn module** - **build: remove unused static files from dwn module** - **refactor: Move DWN models to common package** - **refactor: move models to pkg/common** - **refactor: move vault web app assets to embed module** - **refactor: update session middleware import path** - **chore: configure port labels and auto-forwarding behavior** - **feat: enhance devcontainer configuration** - **feat: Add UCAN middleware for Echo with flexible token validation** - **feat: add JWT middleware for UCAN authentication** - **refactor: update package URI and versioning in PklProject files** - **fix: correct sonr.pkl import path** - **refactor: move JWT related code to auth package** - **feat: introduce vault configuration retrieval and management** - **refactor: Move vault components to gateway module and update file paths** - **refactor: remove Dexie and SQLite database implementations** - **feat: enhance frontend with PWA features and WASM integration** - **feat: add Devbox features and streamline Dockerfile** - **chore: update dependencies to include TigerBeetle** - **chore(deps): update go version to 1.23** - **feat: enhance devnet setup with PATH environment variable and updated PWA manifest** - **fix: upgrade tigerbeetle-go dependency and remove indirect dependency** - **feat: add PostgreSQL support to devnet and testnet deployments** - **refactor: rename keyshare cookie to token cookie** - **feat: upgrade Go version to 1.23.3 and update dependencies** - **refactor: update devnet and testnet configurations** - **feat: add IPFS configuration for devnet** - **I'll help you update the ipfs.config.pkl to include all the peers from the shell script. Here's the updated configuration:** - **refactor: move mpc package to crypto directory** - **feat: add BIP32 support for various cryptocurrencies** - **feat: enhance ATN.pkl with additional capabilities** - **refactor: simplify smart account and vault attenuation creation** - **feat: add new capabilities to the Attenuation type** - **refactor: Rename MPC files for clarity and consistency** - **feat: add DIDKey support for cryptographic operations** - **feat: add devnet and testnet deployment configurations** - **fix: correct key derivation in bip32 package** - **refactor: rename crypto/bip32 package to crypto/accaddr** - **fix: remove duplicate indirect dependency** - **refactor: move vault package to root directory** - **refactor: update routes for gateway and vault** - **refactor: remove obsolete web configuration file** - **refactor: remove unused TigerBeetle imports and update host configuration** - **refactor: adjust styles directory path** - **feat: add broadcastTx and simulateTx functions to gateway** - **feat: add PinVault handler**
This commit is contained in:
@@ -0,0 +1,275 @@
|
||||
module ipfs.net.Config
|
||||
|
||||
API: API
|
||||
|
||||
Addresses: Addresses
|
||||
|
||||
AutoNAT: Dynamic
|
||||
|
||||
Bootstrap: Listing
|
||||
|
||||
DNS: DNS
|
||||
|
||||
Datastore: Datastore
|
||||
|
||||
Discovery: Discovery
|
||||
|
||||
Experimental: Experimental
|
||||
|
||||
Gateway: Gateway
|
||||
|
||||
Identity: Identity
|
||||
|
||||
Internal: Dynamic
|
||||
|
||||
Ipns: Ipns
|
||||
|
||||
Migration: Migration
|
||||
|
||||
Mounts: Mounts
|
||||
|
||||
Peering: Peering
|
||||
|
||||
Pinning: Pinning
|
||||
|
||||
Plugins: Plugins
|
||||
|
||||
Provider: Provider
|
||||
|
||||
Pubsub: Pubsub
|
||||
|
||||
Reprovider: Reprovider
|
||||
|
||||
Routing: Routing
|
||||
|
||||
Swarm: Swarm
|
||||
|
||||
class API {
|
||||
HTTPHeaders: HTTPHeaders
|
||||
}
|
||||
|
||||
class HTTPHeaders {
|
||||
`Access-Control-Allow-Origin`: Listing
|
||||
}
|
||||
|
||||
class Addresses {
|
||||
API: String
|
||||
|
||||
Announce: Listing<Any>
|
||||
|
||||
AppendAnnounce: Listing<Any>
|
||||
|
||||
Gateway: String
|
||||
|
||||
NoAnnounce: Listing<Any>
|
||||
|
||||
Swarm: Listing
|
||||
}
|
||||
|
||||
class DNS {
|
||||
Resolvers: Dynamic
|
||||
}
|
||||
|
||||
class Datastore {
|
||||
BloomFilterSize: Int
|
||||
|
||||
GCPeriod: String
|
||||
|
||||
HashOnRead: Boolean
|
||||
|
||||
Spec: Spec
|
||||
|
||||
StorageGCWatermark: Int
|
||||
|
||||
StorageMax: String
|
||||
}
|
||||
|
||||
class Spec {
|
||||
mounts: Listing
|
||||
|
||||
type: String
|
||||
}
|
||||
|
||||
class MountsItem0 {
|
||||
child: Child
|
||||
|
||||
mountpoint: String
|
||||
|
||||
prefix: String
|
||||
|
||||
type: String
|
||||
}
|
||||
|
||||
class Child {
|
||||
path: String
|
||||
|
||||
shardFunc: String
|
||||
|
||||
sync: Boolean
|
||||
|
||||
type: String
|
||||
}
|
||||
|
||||
class MountsItem1 {
|
||||
child: MountsItem1Child
|
||||
|
||||
mountpoint: String
|
||||
|
||||
prefix: String
|
||||
|
||||
type: String
|
||||
}
|
||||
|
||||
class MountsItem1Child {
|
||||
compression: String
|
||||
|
||||
path: String
|
||||
|
||||
type: String
|
||||
}
|
||||
|
||||
class Discovery {
|
||||
MDNS: MDNS
|
||||
}
|
||||
|
||||
class MDNS {
|
||||
Enabled: Boolean
|
||||
}
|
||||
|
||||
class Experimental {
|
||||
AcceleratedDHTClient: Boolean
|
||||
|
||||
FilestoreEnabled: Boolean
|
||||
|
||||
GraphsyncEnabled: Boolean
|
||||
|
||||
Libp2pStreamMounting: Boolean
|
||||
|
||||
P2pHttpProxy: Boolean
|
||||
|
||||
StrategicProviding: Boolean
|
||||
|
||||
UrlstoreEnabled: Boolean
|
||||
}
|
||||
|
||||
class Gateway {
|
||||
APICommands: Listing<Any>
|
||||
|
||||
HTTPHeaders: GatewayHTTPHeaders
|
||||
|
||||
NoDNSLink: Boolean
|
||||
|
||||
NoFetch: Boolean
|
||||
|
||||
PathPrefixes: Listing<Any>
|
||||
|
||||
PublicGateways: Any
|
||||
|
||||
RootRedirect: String
|
||||
|
||||
Writable: Boolean
|
||||
}
|
||||
|
||||
class GatewayHTTPHeaders {
|
||||
`Access-Control-Allow-Headers`: Listing
|
||||
|
||||
`Access-Control-Allow-Methods`: Listing
|
||||
|
||||
`Access-Control-Allow-Origin`: Listing
|
||||
}
|
||||
|
||||
class Identity {
|
||||
PeerID: String
|
||||
|
||||
PrivKey: String
|
||||
}
|
||||
|
||||
class Ipns {
|
||||
RecordLifetime: String
|
||||
|
||||
RepublishPeriod: String
|
||||
|
||||
ResolveCacheSize: Int
|
||||
}
|
||||
|
||||
class Migration {
|
||||
DownloadSources: Listing<Any>
|
||||
|
||||
Keep: String
|
||||
}
|
||||
|
||||
class Mounts {
|
||||
FuseAllowOther: Boolean
|
||||
|
||||
IPFS: String
|
||||
|
||||
IPNS: String
|
||||
}
|
||||
|
||||
class Peering {
|
||||
Peers: Listing
|
||||
}
|
||||
|
||||
class PeersItem11 {
|
||||
Addrs: Listing
|
||||
|
||||
ID: String
|
||||
}
|
||||
|
||||
class Pinning {
|
||||
RemoteServices: Dynamic
|
||||
}
|
||||
|
||||
class Plugins {
|
||||
Plugins: Any
|
||||
}
|
||||
|
||||
class Provider {
|
||||
Strategy: String
|
||||
}
|
||||
|
||||
class Pubsub {
|
||||
DisableSigning: Boolean
|
||||
|
||||
Router: String
|
||||
}
|
||||
|
||||
class Reprovider {
|
||||
Interval: String
|
||||
|
||||
Strategy: String
|
||||
}
|
||||
|
||||
class Routing {
|
||||
Methods: Any
|
||||
|
||||
Routers: Any
|
||||
|
||||
Type: String
|
||||
}
|
||||
|
||||
class Swarm {
|
||||
AddrFilters: Any
|
||||
|
||||
ConnMgr: Dynamic
|
||||
|
||||
DisableBandwidthMetrics: Boolean
|
||||
|
||||
DisableNatPortMap: Boolean
|
||||
|
||||
RelayClient: Dynamic
|
||||
|
||||
RelayService: Dynamic
|
||||
|
||||
ResourceMgr: Dynamic
|
||||
|
||||
Transports: Transports
|
||||
}
|
||||
|
||||
class Transports {
|
||||
Multiplexers: Dynamic
|
||||
|
||||
Network: Dynamic
|
||||
|
||||
Security: Dynamic
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// Configuration files for integrating the Matrix service
|
||||
amends "../basePklProject.pkl"
|
||||
|
||||
package {
|
||||
name = "ipfs.net"
|
||||
version = "0.0.4"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"resolvedDependencies": {}
|
||||
}
|
||||
Reference in New Issue
Block a user