Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/sentry-cocoa.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = 9.9.0
version = 9.10.0
repo = https://github.com/getsentry/sentry-cocoa
33 changes: 33 additions & 0 deletions src/Sentry.Bindings.Cocoa/ApiDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ interface SentryBaggage
[NullAllowed, Export("replayId", ArgumentSemantic.Strong)]
string ReplayId { get; set; }

// @property (readonly, nonatomic) NSString * _Nullable orgId;
[NullAllowed, Export("orgId")]
string OrgId { get; }

// -(instancetype _Nonnull)initWithTraceId:(SentryId * _Nonnull)traceId publicKey:(NSString * _Nonnull)publicKey releaseName:(NSString * _Nullable)releaseName environment:(NSString * _Nullable)environment transaction:(NSString * _Nullable)transaction sampleRate:(NSString * _Nullable)sampleRate sampled:(NSString * _Nullable)sampled replayId:(NSString * _Nullable)replayId;
[Export("initWithTraceId:publicKey:releaseName:environment:transaction:sampleRate:sampled:replayId:")]
NativeHandle Constructor(SentryId traceId, string publicKey, [NullAllowed] string releaseName, [NullAllowed] string environment, [NullAllowed] string transaction, [NullAllowed] string sampleRate, [NullAllowed] string sampled, [NullAllowed] string replayId);
Expand All @@ -167,6 +171,10 @@ interface SentryBaggage
[Export("initWithTraceId:publicKey:releaseName:environment:transaction:sampleRate:sampleRand:sampled:replayId:")]
NativeHandle Constructor(SentryId traceId, string publicKey, [NullAllowed] string releaseName, [NullAllowed] string environment, [NullAllowed] string transaction, [NullAllowed] string sampleRate, [NullAllowed] string sampleRand, [NullAllowed] string sampled, [NullAllowed] string replayId);

// -(instancetype _Nonnull)initWithTraceId:(SentryId * _Nonnull)traceId publicKey:(NSString * _Nonnull)publicKey releaseName:(NSString * _Nullable)releaseName environment:(NSString * _Nullable)environment transaction:(NSString * _Nullable)transaction sampleRate:(NSString * _Nullable)sampleRate sampleRand:(NSString * _Nullable)sampleRand sampled:(NSString * _Nullable)sampled replayId:(NSString * _Nullable)replayId orgId:(NSString * _Nullable)orgId;
[Export("initWithTraceId:publicKey:releaseName:environment:transaction:sampleRate:sampleRand:sampled:replayId:orgId:")]
NativeHandle Constructor(SentryId traceId, string publicKey, [NullAllowed] string releaseName, [NullAllowed] string environment, [NullAllowed] string transaction, [NullAllowed] string sampleRate, [NullAllowed] string sampleRand, [NullAllowed] string sampled, [NullAllowed] string replayId, [NullAllowed] string orgId);

// -(NSString * _Nonnull)toHTTPHeaderWithOriginalBaggage:(NSDictionary * _Nullable)originalBaggage;
[Export("toHTTPHeaderWithOriginalBaggage:")]
string ToHTTPHeaderWithOriginalBaggage([NullAllowed] NSDictionary originalBaggage);
Expand Down Expand Up @@ -1369,6 +1377,10 @@ interface SentryTraceContext : SentrySerializable
[NullAllowed, Export("replayId")]
string ReplayId { get; }

// @property (readonly, nonatomic) NSString * _Nullable orgId;
[NullAllowed, Export("orgId")]
string OrgId { get; }

// -(SentryBaggage * _Nonnull)toBaggage;
[Export("toBaggage")]
SentryBaggage ToBaggage();
Expand Down Expand Up @@ -1657,6 +1669,11 @@ interface PrivateSentrySDKOnly
[Static]
[Export("setLogOutput:")]
void SetLogOutput(Action<NSString> output);

// +(void)ignoreNextSignal:(int)signum;
[Static]
[Export("ignoreNextSignal:")]
void IgnoreNextSignal(int signum);
}

// @interface SentryOptions : NSObject
Expand Down Expand Up @@ -1988,6 +2005,18 @@ interface SentryOptions
[Export("spotlightUrl")]
string SpotlightUrl { get; set; }

// @property (nonatomic) BOOL strictTraceContinuation;
[Export("strictTraceContinuation")]
bool StrictTraceContinuation { get; set; }

// @property (copy, nonatomic) NSString * _Nullable orgId;
[NullAllowed, Export("orgId")]
string OrgId { get; set; }

// @property (readonly, copy, nonatomic) NSString * _Nullable effectiveOrgId;
[NullAllowed, Export("effectiveOrgId")]
string EffectiveOrgId { get; }

// @property (nonatomic, strong) SentryExperimentalOptions * _Nonnull experimental;
[Export("experimental", ArgumentSemantic.Strong)]
SentryExperimentalOptions Experimental { get; set; }
Expand Down Expand Up @@ -2130,6 +2159,10 @@ interface SentryDsn
// -(NSURL * _Nonnull)getEnvelopeEndpoint __attribute__((warn_unused_result("")));
[Export("getEnvelopeEndpoint")]
NSUrl EnvelopeEndpoint { get; }

// @property (readonly, copy, nonatomic) NSString * _Nullable orgId;
[NullAllowed, Export("orgId")]
string OrgId { get; }
}

// @interface SentryExperimentalOptions : NSObject
Expand Down
Loading