@tinkerlandai/indiana-react-native 0.9.2 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/IndianaReactNative.podspec +19 -0
- package/README.md +62 -5
- package/THIRD_PARTY_NOTICES.md +74 -0
- package/android/build.gradle +24 -0
- package/android/src/main/AndroidManifest.xml +3 -0
- package/android/src/main/java/ai/tinkerland/indiana/reactnative/IndianaBridgeModule.kt +237 -0
- package/android/src/main/java/ai/tinkerland/indiana/reactnative/IndianaBridgePackage.kt +11 -0
- package/dist/index.cjs +17 -1
- package/dist/index.d.cts +96889 -6007
- package/dist/index.d.ts +96889 -6007
- package/dist/index.js +17 -1
- package/ios/IndianaBridge.m +11 -0
- package/ios/IndianaBridge.swift +275 -0
- package/native-sdk/android/assets/indiana/index.html +268 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/BillingAuthorizationTerms.kt +55 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/BundledWebView.kt +90 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/ContentSession.kt +45 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/ContentView.kt +36 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/CustomerOperations.generated.kt +84 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/CustomerResponseSemantics.kt +197 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/CustomerSemantics.kt +120 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/CustomerSession.kt +106 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/FeatureClient.kt +65 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/FunnelCommandStorage.kt +163 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/FunnelConfigurationRelay.kt +50 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/FunnelSession.kt +208 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/FunnelView.kt +71 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/GeneratedProtocol.kt +16 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/GoogleStorefront.kt +165 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/HTTPTransport.kt +43 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/IndianaClient.kt +526 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/MerchantCommerceSemantics.kt +38 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/NativePendingKeystore.kt +81 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/NativeReceiptRelay.kt +28 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/NativeStoreOffer.kt +24 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/PaywallContent.kt +75 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/PaywallSession.kt +144 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/PaywallView.kt +74 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/Protocol.kt +28 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/PushInstallation.kt +170 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/RendererNavigation.kt +13 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/SDKVersion.kt +6 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/StoreSubscriptionManagement.kt +19 -0
- package/native-sdk/android/java/ai/tinkerland/indiana/WireSchema.kt +76 -0
- package/native-sdk/android/resources/funnel-wire-schemas.json +1 -0
- package/native-sdk/android/resources/indiana-third-party-notices.txt +101 -0
- package/native-sdk/android/resources/renderer-data-url.txt +1 -0
- package/native-sdk/ios/AnalyticsReceipt.swift +10 -0
- package/native-sdk/ios/AppleStorefront.swift +218 -0
- package/native-sdk/ios/BillingAuthorizationTerms.swift +57 -0
- package/native-sdk/ios/BundledWebView.swift +87 -0
- package/native-sdk/ios/ContentSession.swift +48 -0
- package/native-sdk/ios/ContentView.swift +51 -0
- package/native-sdk/ios/CustomerOperations.generated.swift +166 -0
- package/native-sdk/ios/CustomerResponseSemantics.swift +236 -0
- package/native-sdk/ios/CustomerSemantics.swift +145 -0
- package/native-sdk/ios/CustomerSession.swift +129 -0
- package/native-sdk/ios/FeatureClient.swift +86 -0
- package/native-sdk/ios/FunnelCommandStorage.swift +163 -0
- package/native-sdk/ios/FunnelConfigurationRelay.swift +48 -0
- package/native-sdk/ios/FunnelSession.swift +232 -0
- package/native-sdk/ios/FunnelView.swift +125 -0
- package/native-sdk/ios/GeneratedProtocol.swift +16 -0
- package/native-sdk/ios/HTTPTransport.swift +74 -0
- package/native-sdk/ios/IndianaClient.swift +601 -0
- package/native-sdk/ios/MerchantCommerceSemantics.swift +51 -0
- package/native-sdk/ios/NativePendingKeychain.swift +52 -0
- package/native-sdk/ios/NativeReceiptRelay.swift +28 -0
- package/native-sdk/ios/NativeStoreOffer.swift +34 -0
- package/native-sdk/ios/PaywallContent.swift +75 -0
- package/native-sdk/ios/PaywallSession.swift +124 -0
- package/native-sdk/ios/PaywallView.swift +87 -0
- package/native-sdk/ios/Protocol.swift +49 -0
- package/native-sdk/ios/PushInstallation.swift +154 -0
- package/native-sdk/ios/RendererNavigation.swift +8 -0
- package/native-sdk/ios/Resources.swift +15 -0
- package/native-sdk/ios/SDKVersion.swift +4 -0
- package/native-sdk/ios/StoreSubscriptionManagement.swift +11 -0
- package/native-sdk/ios/WebView/THIRD_PARTY_NOTICES.txt +101 -0
- package/native-sdk/ios/WebView/index.html +268 -0
- package/native-sdk/ios/WebView/renderer-data-url.txt +1 -0
- package/native-sdk/ios/WireSchema.swift +107 -0
- package/native-sdk/ios/funnel-wire-schemas.json +1 -0
- package/package.json +8 -3
- package/react-native.config.cjs +12 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
import CryptoKit
|
|
3
|
+
import Security
|
|
4
|
+
|
|
5
|
+
public enum IndianaPushPermission: String, Codable, Sendable { case unknown, denied, provisional, granted }
|
|
6
|
+
public enum IndianaPushAddressKind: String, Sendable { case apnsToken = "apns_token", fcmToken = "fcm_token" }
|
|
7
|
+
public struct IndianaPushObservation: Sendable {
|
|
8
|
+
public let connectionId: UUID?
|
|
9
|
+
public let kind: IndianaPushAddressKind?
|
|
10
|
+
public let token: String?
|
|
11
|
+
public let permission: IndianaPushPermission
|
|
12
|
+
public init(connectionId: UUID?, kind: IndianaPushAddressKind?, token: String?, permission: IndianaPushPermission) throws {
|
|
13
|
+
guard (connectionId == nil && kind == nil && token == nil) ||
|
|
14
|
+
(connectionId != nil && kind != nil && token != nil && (16...4096).contains(token!.utf8.count) && token!.utf8.allSatisfy({ (33...126).contains($0) })) else { throw IndianaClientError.invalidConfiguration }
|
|
15
|
+
self.connectionId = connectionId; self.kind = kind; self.token = token; self.permission = permission
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
public struct IndianaPushInstallationState: Decodable, Sendable {
|
|
19
|
+
public let installationId: UUID
|
|
20
|
+
public let bound: Bool
|
|
21
|
+
public let identitySeq: Int64
|
|
22
|
+
public let bindingGeneration: Int64
|
|
23
|
+
public let addressSeq: Int64
|
|
24
|
+
public let addressRevision: Int64
|
|
25
|
+
public let connectionId: UUID?
|
|
26
|
+
public let addressStatus: String?
|
|
27
|
+
public let permission: IndianaPushPermission
|
|
28
|
+
func validate(installation: UUID) throws {
|
|
29
|
+
guard installationId == installation, (1...IndianaPushIdentity.maxSequence).contains(identitySeq),
|
|
30
|
+
(1...IndianaPushIdentity.maxSequence).contains(bindingGeneration), (0...IndianaPushIdentity.maxSequence).contains(addressSeq),
|
|
31
|
+
(0...IndianaPushIdentity.maxSequence).contains(addressRevision), addressStatus == nil || ["active", "invalid"].contains(addressStatus!) else { throw IndianaClientError.invalidResponse }
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
/// Capture before starting asynchronous OS token work; an old callback cannot replace a newer observation.
|
|
35
|
+
public struct IndianaPushObservationTicket: Sendable { let client: UUID; let identity: UUID; let observation: UUID }
|
|
36
|
+
public struct IndianaPushRecoveryRequest: Decodable, Sendable {
|
|
37
|
+
public let requested: Bool
|
|
38
|
+
public let expiresAt: String
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
struct IndianaPushJournal: Codable, Sendable {
|
|
42
|
+
var installationId: UUID
|
|
43
|
+
var privateKey: Data
|
|
44
|
+
var identitySeq: Int64
|
|
45
|
+
var addressSeq: Int64
|
|
46
|
+
var detachSeq: Int64?
|
|
47
|
+
func validate() throws {
|
|
48
|
+
guard (0...IndianaPushIdentity.maxSequence).contains(identitySeq), (0...IndianaPushIdentity.maxSequence).contains(addressSeq),
|
|
49
|
+
detachSeq == nil || (detachSeq! > 0 && detachSeq! <= identitySeq),
|
|
50
|
+
(try? P256.Signing.PrivateKey(rawRepresentation: privateKey)) != nil else { throw IndianaClientError.protectedStorageUnavailable }
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
protocol IndianaPushJournalStorage: Sendable {
|
|
54
|
+
/// A synchronous durable write: lifecycle changes cannot cross an await before the intent is saved.
|
|
55
|
+
func transaction(_ update: (IndianaPushJournal) throws -> IndianaPushJournal) throws -> IndianaPushJournal
|
|
56
|
+
}
|
|
57
|
+
final class IndianaPushKeychain: IndianaPushJournalStorage, @unchecked Sendable {
|
|
58
|
+
private let service: String
|
|
59
|
+
private static let lock = NSLock()
|
|
60
|
+
init(scope: IndianaScope) { service = "\(Bundle.main.bundleIdentifier ?? "Indiana").indiana.push.v1.\(scope.projectId.uuidString.lowercased()).\(scope.environment.rawValue)" }
|
|
61
|
+
func transaction(_ update: (IndianaPushJournal) throws -> IndianaPushJournal) throws -> IndianaPushJournal {
|
|
62
|
+
Self.lock.lock(); defer { Self.lock.unlock() }
|
|
63
|
+
let query: [String: Any] = [kSecClass as String:kSecClassGenericPassword, kSecAttrService as String:service, kSecAttrAccount as String:"installation"]
|
|
64
|
+
var result: CFTypeRef?
|
|
65
|
+
let status = SecItemCopyMatching(query.merging([kSecReturnData as String:true]) { _, new in new } as CFDictionary, &result)
|
|
66
|
+
let current: IndianaPushJournal
|
|
67
|
+
if status == errSecItemNotFound {
|
|
68
|
+
current = IndianaPushJournal(installationId: UUID(), privateKey: P256.Signing.PrivateKey().rawRepresentation, identitySeq: 0, addressSeq: 0, detachSeq: nil)
|
|
69
|
+
} else {
|
|
70
|
+
guard status == errSecSuccess, let data = result as? Data, data.count <= 4096,
|
|
71
|
+
let decoded = try? JSONDecoder().decode(IndianaPushJournal.self, from: data) else { throw IndianaClientError.protectedStorageUnavailable }
|
|
72
|
+
current = decoded
|
|
73
|
+
}
|
|
74
|
+
try current.validate()
|
|
75
|
+
let next = try update(current); try next.validate()
|
|
76
|
+
guard next.installationId == current.installationId, next.privateKey == current.privateKey,
|
|
77
|
+
next.identitySeq >= current.identitySeq, next.addressSeq >= current.addressSeq else { throw IndianaClientError.protectedStorageUnavailable }
|
|
78
|
+
if status == errSecItemNotFound || next.identitySeq != current.identitySeq || next.addressSeq != current.addressSeq || next.detachSeq != current.detachSeq {
|
|
79
|
+
let data = try JSONEncoder().encode(next)
|
|
80
|
+
let saved = status == errSecItemNotFound
|
|
81
|
+
? SecItemAdd(query.merging([kSecValueData as String:data, kSecAttrAccessible as String:kSecAttrAccessibleWhenUnlockedThisDeviceOnly]) { _, new in new } as CFDictionary, nil)
|
|
82
|
+
: SecItemUpdate(query as CFDictionary, [kSecValueData as String:data] as CFDictionary)
|
|
83
|
+
guard saved == errSecSuccess else { throw IndianaClientError.protectedStorageUnavailable }
|
|
84
|
+
}
|
|
85
|
+
return next
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/// Owned by the existing IndianaClient actor. No credential, transport or provider token is persisted here.
|
|
90
|
+
final class IndianaPushIdentity {
|
|
91
|
+
static let maxSequence: Int64 = 9_007_199_254_740_991
|
|
92
|
+
let storage: any IndianaPushJournalStorage
|
|
93
|
+
init(storage: any IndianaPushJournalStorage) throws { self.storage = storage; _ = try state() }
|
|
94
|
+
func state() throws -> IndianaPushJournal { try storage.transaction { $0 } }
|
|
95
|
+
func reserve(detach: Bool = false) throws -> Int64 {
|
|
96
|
+
try storage.transaction { current in
|
|
97
|
+
guard current.identitySeq < Self.maxSequence else { throw IndianaClientError.protectedStorageUnavailable }
|
|
98
|
+
var next = current; next.identitySeq += 1
|
|
99
|
+
if detach { next.detachSeq = next.identitySeq }
|
|
100
|
+
return next
|
|
101
|
+
}.identitySeq
|
|
102
|
+
}
|
|
103
|
+
func reserveAddress() throws -> Int64 {
|
|
104
|
+
try storage.transaction { current in
|
|
105
|
+
guard current.addressSeq < Self.maxSequence else { throw IndianaClientError.protectedStorageUnavailable }
|
|
106
|
+
var next = current; next.addressSeq += 1; return next
|
|
107
|
+
}.addressSeq
|
|
108
|
+
}
|
|
109
|
+
func clearDetach(_ sequence: Int64) throws {
|
|
110
|
+
_ = try storage.transaction { current in var next = current; if next.detachSeq == sequence { next.detachSeq = nil }; return next }
|
|
111
|
+
}
|
|
112
|
+
func recover(remote: IndianaPushInstallationState, expected: Int64) throws -> Int64 {
|
|
113
|
+
try storage.transaction { current in
|
|
114
|
+
guard current.identitySeq == expected else { throw IndianaClientError.identityChanged }
|
|
115
|
+
let floor = max(current.identitySeq, remote.identitySeq)
|
|
116
|
+
guard floor < Self.maxSequence else { throw IndianaClientError.protectedStorageUnavailable }
|
|
117
|
+
var next = current; next.identitySeq = floor + 1; next.addressSeq = max(current.addressSeq, remote.addressSeq); return next
|
|
118
|
+
}.identitySeq
|
|
119
|
+
}
|
|
120
|
+
static func digest(_ credential: String) -> String { SHA256.hash(data: Data(credential.utf8)).map { String(format: "%02x", $0) }.joined() }
|
|
121
|
+
static func base64url(_ bytes: Data) -> String { bytes.base64EncodedString().replacingOccurrences(of: "+", with: "-").replacingOccurrences(of: "/", with: "_").replacingOccurrences(of: "=", with: "") }
|
|
122
|
+
func command(_ operation: String, scope: IndianaScope, sequence: Int64? = nil, credential: String? = nil, observation: IndianaPushObservation? = nil, challenge: String? = nil) throws -> Data {
|
|
123
|
+
let journal = try state(), key = try P256.Signing.PrivateKey(rawRepresentation: journal.privateKey)
|
|
124
|
+
let publicKey = Self.base64url(key.publicKey.derRepresentation), installation = journal.installationId.uuidString.lowercased()
|
|
125
|
+
let formatter = ISO8601DateFormatter(); formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
|
|
126
|
+
let issuedAt = formatter.string(from: Date())
|
|
127
|
+
var fields: [Any] = ["indiana_push_v1", operation, scope.projectId.uuidString.lowercased(), scope.environment.rawValue, installation, publicKey, issuedAt]
|
|
128
|
+
var input: [String: Any] = ["installationId":installation, "publicKey":publicKey, "issuedAt":issuedAt]
|
|
129
|
+
let null = NSNull()
|
|
130
|
+
switch operation {
|
|
131
|
+
case "bind", "detach":
|
|
132
|
+
guard let sequence else { throw IndianaClientError.invalidConfiguration }
|
|
133
|
+
fields += [sequence, "ios"]; input["sequence"] = sequence; input["platform"] = "ios"
|
|
134
|
+
if operation == "bind" { guard let credential else { throw IndianaClientError.unauthenticated }; let digest = Self.digest(credential); fields.append(digest); input["credentialDigest"] = digest }
|
|
135
|
+
case "read":
|
|
136
|
+
guard let credential else { throw IndianaClientError.unauthenticated }; let digest = Self.digest(credential); fields.append(digest); input["credentialDigest"] = digest
|
|
137
|
+
case "address", "recovery_request", "recovery_confirm":
|
|
138
|
+
guard let sequence, let credential, let observation else { throw IndianaClientError.invalidConfiguration }
|
|
139
|
+
let digest = Self.digest(credential)
|
|
140
|
+
fields += [sequence, digest, observation.connectionId?.uuidString.lowercased() as Any? ?? null, observation.kind?.rawValue as Any? ?? null, observation.token as Any? ?? null, observation.permission.rawValue]
|
|
141
|
+
input["sequence"] = sequence; input["credentialDigest"] = digest; input["connectionId"] = observation.connectionId?.uuidString.lowercased() ?? null as Any
|
|
142
|
+
input["kind"] = observation.kind?.rawValue ?? null as Any; input["token"] = observation.token ?? null as Any; input["permission"] = observation.permission.rawValue
|
|
143
|
+
if operation == "recovery_confirm" {
|
|
144
|
+
guard let challenge, (100...3500).contains(challenge.utf8.count), challenge.utf8.allSatisfy({ (48...57).contains($0) || (65...90).contains($0) || (97...122).contains($0) || $0 == 45 || $0 == 95 }) else { throw IndianaClientError.invalidConfiguration }
|
|
145
|
+
fields.append(challenge); input["challenge"] = challenge
|
|
146
|
+
}
|
|
147
|
+
default: throw IndianaClientError.invalidConfiguration
|
|
148
|
+
}
|
|
149
|
+
let bytes = try JSONSerialization.data(withJSONObject: fields, options: [.withoutEscapingSlashes])
|
|
150
|
+
input["signature"] = Self.base64url(try key.signature(for: bytes).rawRepresentation)
|
|
151
|
+
if operation == "detach" { input["projectId"] = scope.projectId.uuidString.lowercased(); input["environment"] = scope.environment.rawValue }
|
|
152
|
+
return try JSONSerialization.data(withJSONObject: input, options: [.withoutEscapingSlashes])
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
|
|
3
|
+
/// Subframes can execute only the renderer bytes shipped with this SDK.
|
|
4
|
+
func indianaAllowsFunnelRendererNavigation(_ offered: URL, baseURL: URL) -> Bool {
|
|
5
|
+
guard baseURL.absoluteString == "https://indiana-sdk.invalid/",
|
|
6
|
+
let expected = try? IndianaBundledWebViewResources.rendererURL() else { return false }
|
|
7
|
+
return offered.absoluteString.components(separatedBy: "#").first == expected
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
|
|
3
|
+
private final class IndianaResourceBundleMarker {}
|
|
4
|
+
enum IndianaResources {
|
|
5
|
+
static let bundle: Bundle = {
|
|
6
|
+
#if SWIFT_PACKAGE
|
|
7
|
+
return Bundle.module
|
|
8
|
+
#else
|
|
9
|
+
let framework = Bundle(for: IndianaResourceBundleMarker.self)
|
|
10
|
+
if let url = framework.url(forResource: "IndianaResources", withExtension: "bundle"), let bundle = Bundle(url: url) { return bundle }
|
|
11
|
+
if let url = Bundle.main.url(forResource: "IndianaResources", withExtension: "bundle"), let bundle = Bundle(url: url) { return bundle }
|
|
12
|
+
return framework
|
|
13
|
+
#endif
|
|
14
|
+
}()
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#if canImport(UIKit)
|
|
2
|
+
import StoreKit
|
|
3
|
+
import UIKit
|
|
4
|
+
|
|
5
|
+
/// Presents the App Store's renewal management sheet. Entitlements still come from Indiana.
|
|
6
|
+
public enum IndianaStoreSubscriptions {
|
|
7
|
+
@MainActor public static func manage(in scene: UIWindowScene) async throws {
|
|
8
|
+
try await AppStore.showManageSubscriptions(in: scene)
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
#endif
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# GrowthBook core
|
|
2
|
+
|
|
3
|
+
MIT core port from growthbook/growthbook at ed29827a453ae6b9eba181bdf4e9280d4b670817. No enterprise-licensed code is included.
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2025 GrowthBook, Inc.
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
|
20
|
+
|
|
21
|
+
# @noble/hashes 2.4.0
|
|
22
|
+
|
|
23
|
+
SHA-256 for hashed saved-group membership is bundled from `@noble/hashes` 2.4.0.
|
|
24
|
+
Source: https://github.com/paulmillr/noble-hashes
|
|
25
|
+
|
|
26
|
+
The MIT License (MIT)
|
|
27
|
+
|
|
28
|
+
Copyright (c) 2022 Paul Miller (https://paulmillr.com)
|
|
29
|
+
|
|
30
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
31
|
+
of this software and associated documentation files (the “Software”), to deal
|
|
32
|
+
in the Software without restriction, including without limitation the rights
|
|
33
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
34
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
35
|
+
furnished to do so, subject to the following conditions:
|
|
36
|
+
|
|
37
|
+
The above copyright notice and this permission notice shall be included in
|
|
38
|
+
all copies or substantial portions of the Software.
|
|
39
|
+
|
|
40
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
41
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
42
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
43
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
44
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
45
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
46
|
+
THE SOFTWARE.
|
|
47
|
+
|
|
48
|
+
# dom-mutator 0.7.0
|
|
49
|
+
|
|
50
|
+
GrowthBook declarative DOM mutations use the original `dom-mutator` package.
|
|
51
|
+
Source: https://github.com/growthbook/dom-mutator
|
|
52
|
+
|
|
53
|
+
MIT License
|
|
54
|
+
|
|
55
|
+
Copyright (c) 2021 Jeremy Dorn
|
|
56
|
+
|
|
57
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
58
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
59
|
+
in the Software without restriction, including without limitation the rights
|
|
60
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
61
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
62
|
+
furnished to do so, subject to the following conditions:
|
|
63
|
+
|
|
64
|
+
The above copyright notice and this permission notice shall be included in all
|
|
65
|
+
copies or substantial portions of the Software.
|
|
66
|
+
|
|
67
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
68
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
69
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
70
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
71
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
72
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
73
|
+
SOFTWARE.
|
|
74
|
+
|
|
75
|
+
# whatwg-url-minimum 0.2.0
|
|
76
|
+
|
|
77
|
+
Bundled URL implementation from https://github.com/expo/whatwg-url-minimum.
|
|
78
|
+
|
|
79
|
+
MIT License
|
|
80
|
+
|
|
81
|
+
Copyright (c) Phil Pluckthun,
|
|
82
|
+
Copyright (c) 650 Industries, Inc. (aka Expo),
|
|
83
|
+
Copyright (c) Sebastian Mayr
|
|
84
|
+
|
|
85
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
86
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
87
|
+
in the Software without restriction, including without limitation the rights
|
|
88
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
89
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
90
|
+
furnished to do so, subject to the following conditions:
|
|
91
|
+
|
|
92
|
+
The above copyright notice and this permission notice shall be included in all
|
|
93
|
+
copies or substantial portions of the Software.
|
|
94
|
+
|
|
95
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
96
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
97
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
98
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
99
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
100
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
101
|
+
SOFTWARE.
|